Code Monkey home page Code Monkey logo

mohamedsebaie / deepfake-detection-using-pytorch Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 163.21 MB

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.. https://pypi.org/project/Deep-Fake-Detection/

License: MIT License

Jupyter Notebook 97.28% Python 2.72%
deepfake-detection blazeface resnet-18 resnext-18 xception-model pytorch-implementation anchors face-detection face-extractor fake

deepfake-detection-using-pytorch's Introduction

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()

deepfake-detection-using-pytorch's People

Contributors

mohamedsebaie avatar

Stargazers

 avatar  avatar

Watchers

 avatar

deepfake-detection-using-pytorch's Issues

Unable to import DeepFake_Utils

Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=18cBhKpkRflQmyXCVjy1DtVLIUnLPo2bO

Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:
https://drive.google.com/uc?id=1siAcM9uTEoLEeqKFxq5h-hjs4NoHS0SU

Access denied with the following error:
Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:
https://drive.google.com/uc?id=1--68J6Ipny937AFjJ_AKjhFXFnvnGecV
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:
https://drive.google.com/uc?id=1FhJrGLBnnRw_nq0p58NUzlN2rZI9BAQa

Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:
https://drive.google.com/uc?id=1oqK5yz5ZaWjLP9O_eXhvGL9RD6hOyS6d

Description:
I want to import the DeepFake_Utils using:
from deepfake_detection import DeepFake_Utils

But by running this line the above error generated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.