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
- Install:
pip install Deep-Fake-Detection
- 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)
- Import the DeepFake_Utils from deepfake_detection :
from deepfake_detection import DeepFake_Utils
- 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.4.tar.gz
(16.3 kB
view details)
Built Distribution
File details
Details for the file Deep Fake Detection-0.0.4.tar.gz
.
File metadata
- Download URL: Deep Fake Detection-0.0.4.tar.gz
- Upload date:
- Size: 16.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8442a3350aa62d864d4475d1d3b1467f0095b4381e3179930297ec61773df9db |
|
MD5 | ccd3f28446f64a0398d00efb808e7a74 |
|
BLAKE2b-256 | 43ad2fe4a2e0871743cde17875fc56ef2367729987a6a7e0eaa9470681a50627 |
Provenance
File details
Details for the file Deep_Fake_Detection-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: Deep_Fake_Detection-0.0.4-py3-none-any.whl
- Upload date:
- Size: 16.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b06f284f757c74530c2f7efd764358520b2c73747acc833c8def144983c101 |
|
MD5 | e5b6cd52f773d0a4b6bb451e7a6526c0 |
|
BLAKE2b-256 | 0fd961861030c2421f63e98a11b3c7532047c34238dba63502135a8c741704fc |