Giter Site home page Giter Site logo

deep-fake-detection-2's Introduction

Deep-Fake-Detection Upgradation

DeepFake is a technique that aims to replace the face of a targeted person with the face of someone else in a video. It first appeared in autumn 2017 as a script used to generate face-swapped adult content. We have proposed a model which can be used to detect the forged video and hence can become a great public concern recently.
We have proposed better architechure as compared to Meso-4 network for Deep Fake detection and can be said to have rare chances of failing when trained fully (i.e for 100 image sequences)


We used 3775 for training and 665 for validation. The dataset is overall balanced. We have passed 10 frames while training the model resulting in low accuracy

Model Upgradation

  • Rather than using images to predict we feed video directly to our model
  • Used custom architecture rather than using Meso-4 architecture
  • We build our own prediction model so that one can do prediction for the video without having to understand the code, you just need to add the path
  • Due to resources we weren't able to use fine tuning , if used can make the model attained better accuracy
  • Dataset has videos not only from DeepFake dataset but also from Celeb dataset as well as face forensics dataset as compared to the one implemented before which only has videos from DeepFake Dataset and hence can do better in real time than the one above

Setting up the model locally or on Colab

You can run our model locally as well on colab by uploading the .ipynb file on your colab. For running the model on your computer you will have to download dependencies. For downloading click on Requirements File. After downloading you need to run the code by opening the command propmt and pasting the following code: pip install -r /path to requirements.txt file.

Datasets and Weights file


Preprocessed Dataset
Weights File

Model

The architecure of the model is as


The results of the prediction model when tested on unseen data is as follows. As you can see the model was able to predict correctly.



deep-fake-detection-2's People

Contributors

harshalgadhe avatar

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.