Skip to content

Detectify is a deep learning system that detects AI-generated fake videos (deepfakes) using CNN and LSTM-based RNNs. Trained on datasets like Face-Forensic++, Deepfake Detection Challenge, and Celeb-DF, Detectify offers real-time video manipulation detection to combat misinformation and misuse of deepfake technology.

Notifications You must be signed in to change notification settings

subhanSahebShaik/detectify

Repository files navigation

Abstract

The growing computation power has made the deep learning algorithms so powerful that creating an indistinguishable human synthesized video popularly called as deep fakes have become very simple. Scenarios where this realistic face swapped deep fakes are used to create political distress, fake terrorism events, blackmail peoples are easily envisioned. In this work, we describe a new deep learning-based method that can effectively distinguish AI-generated fake videos from real videos. Our method is capable of automatically detecting the replacement and reenactment deep fakes. Our system uses a Res-Next Convolution neural network to extract the frame- level features and these features and further used to train the Long-Short-Term Memory (LSTM) based Recurrent Neural Network (RNN) to classify whether the video is subject to any kind of manipulation or not, i.e. whether the video is deep fake or real video. To emulate the real time scenarios and make the model perform better on real time data, we evaluate our method on large amount of balanced and mixed data-set prepared by mixing the various available data-set like Face-Forensic++, Deepfake detection challenge, and Celeb-DF.

How to Run

  1. Open Terminal or Command prompt from the location where you want to set the project.
  2. Now run the following command,

git clone https://github.com/subhanSahebShaik/detectify.git

It only works if Git installed in your system, else download zip file manually from GitHub and extract it into desired location.

  1. Create a 'models', 'uploaded_videos' and 'uploaded_images' directories at root folder.

  2. Now download the models from G-Drive then copy them into models folder created earlier https://drive.google.com/drive/folders/1UX8jXUXyEjhLLZ38tcgOwGsZ6XFSLDJ-?usp=sharing

  3. Now run,

Creating Virtual evnironment is Optional but recommended

python -m venv venv venv\Scripts activate

Following command will install all project required libraries

pip install -r requirements.txt

  1. Now run server,

python manage.py runserver

  1. Now local server is ready. Open any browser and visit http://127.0.0.1:8000/

Special Thanks To

I would like to express my special thanks to abhijitjadhav1998/Deepfake_detection_using_deep_learning repository for providing valuable insights and inspiration for this project. The code and ideas presented in this repository served as a foundation and guide for developing our deep learning-based method to detect AI-generated fake videos.


Original Repository

About

Detectify is a deep learning system that detects AI-generated fake videos (deepfakes) using CNN and LSTM-based RNNs. Trained on datasets like Face-Forensic++, Deepfake Detection Challenge, and Celeb-DF, Detectify offers real-time video manipulation detection to combat misinformation and misuse of deepfake technology.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published