Skip to content

supzi-del/detect-deepfake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

detect-deepfake

Introduction

DeepFake Video Detection is a web application that uses deep learning techniques, specifically ResNext and LSTM models, to determine whether a given video is authentic (real) or manipulated (fake). The goal of this application is to identify videos that have been altered using deepfake technology, which refers to the use of artificial intelligence to create highly realistic fake videos.

More Information about the project

  • The combination of powerful backend capabilities of Flask and React allowed us to build a web application that seamlessly integrates the deepfake video detection functionality with a user-friendly frontend experience.
  • The application employs a combination of two deep learning models: ResNext and LSTM. ResNext is a convolutional neural network architecture that is commonly used for image classification tasks. It is designed to extract meaningful features from images and has been adapted for video analysis by considering frames of the video as individual images.

  • The LSTM (Long Short-Term Memory) model is a type of recurrent neural network that can analyze sequential data, such as video frames, by capturing dependencies and patterns over time.

  • The DeepFake Video Detection web application takes a video as input and processes it frame by frame. Each frame is analyzed by the ResNext model to extract relevant visual features.

  • The output of the application is a prediction of whether the video is real or fake, along with a confidence ratio. The confidence ratio indicates the level of certainty the model has in its prediction.

Dataset Used

Training the model

Project Set-up

  • Clone this project into local machine.

  • Execute 'pip install -r requirements.txt' in terminal.

  • In two different terminals, 'cd detect-deepfake'

  • 'cd DFD'

  • In 1st terminal, run Command'python server.py'

  • In the 2nd one, run Command 'npm start'

  • You've succesfully executed the Project.

Note : In the root folder(detect-deepfake), create a new folder called "models" and add the model file in it.

Results

  1. Training and Validation Accuracy Graph:
Accuracy Graph
  1. Training and Validation Loss Graph:
Loss Graph
  1. Confusion Matrix:
Confusion Matrix

  • True positive = 63
  • False positive = 8
  • False negative = 12
  • True negative = 57

4) Accuracy of the Model:
Calculated Accuracy 85.71428571428571

Screenshots

page1 page2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published