Skip to main content

Deep Fake Detection Project

Project description

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. Download the Finetunned Model Weights
import gdown
ResNextModelURL    = 'https://drive.google.com/uc?id=1siAcM9uTEoLEeqKFxq5h-hjs4NoHS0SU'
XcePtionModelURL   = 'https://drive.google.com/uc?id=1--68J6Ipny937AFjJ_AKjhFXFnvnGecV'
ResNextModel    = 'resnext.pth'
XcePtionModel   = 'xception.pth'

gdown.download(ResNextModelURL, ResNextModel, quiet=False)
gdown.download(XcePtionModelURL, XcePtionModel, quiet=False)
  1. Import the DeepFake_Utils from deepfake_detection :
from deepfake_detection import DeepFake_Utils
  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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Deep Fake Detection-0.0.8.tar.gz (399.3 kB view details)

Uploaded Source

Built Distribution

Deep_Fake_Detection-0.0.8-py3-none-any.whl (398.8 kB view details)

Uploaded Python 3

File details

Details for the file Deep Fake Detection-0.0.8.tar.gz.

File metadata

  • Download URL: Deep Fake Detection-0.0.8.tar.gz
  • Upload date:
  • Size: 399.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for Deep Fake Detection-0.0.8.tar.gz
Algorithm Hash digest
SHA256 dfbb9e8e642eb9654ce36b197cf0f165ba4c2372f91ac2bd4ea93357d3173a72
MD5 d03df89a89302deed43ef82b62dbeb98
BLAKE2b-256 2a87cf00af4834d5898eeeadb3e6992fc5901f0317b49ea7a1f4e28f75a472c2

See more details on using hashes here.

Provenance

File details

Details for the file Deep_Fake_Detection-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: Deep_Fake_Detection-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 398.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.6

File hashes

Hashes for Deep_Fake_Detection-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e9dfefd0e29e3933dbc77522693db2921523bdeb6c8533c6834759253d69f877
MD5 bdbc5207c009f09575a9ee2a71730eef
BLAKE2b-256 baab17f5de1d58ac514f7ece57825a2f803531aa2f144e404c61df62a37099da

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page