Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.09 KB

File metadata and controls

39 lines (22 loc) · 1.09 KB

DeepFake-Detection-Using-Pytorch

Deep Fake Detection Package


Abstract

This project Deepfakes can distort our perception of the truth and we need to develop a strategy to improve their detection. Deep Fakes are increasingly detrimental to privacy, social security, and democracy. We plan to achieve better accuracy in predicting real and fake videos..

Instructions to Install our Deep Fake Detection Package

  1. Install:
pip install Deep-Fake-Detection
  1. Import the DeepFake_Utils from deepfake_detection :
from deepfake_detection import DeepFake_Utils
from moviepy.editor import *
  1. Detect Detect the video is fake or not by Ensemble ResNext and Inception Custom Models :
# Run the Below Function by Input your Video Path to get the outPutVideo with Label Fake on Real on it
DeepFake_Utils.Inference_on_video(OutputVideoPath,InputVideoPath)


# Show the Video
VideoFileClip(OutputVideoPath, audio=False, target_resolution=(300,None)).ipython_display()