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 used different preprocessing model than the one used in the research paper
- Our dataset is lesser than the one originally used
- To solve the problem of dataset we use data augmentation techniques
- We biild 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
- Well balanced dataset with each category having around 800 images
Dataset -> This link contains dataset having videos which were later pre processed. For that you need to first login to kaggle
Preprocessed Dataset
Weights File
The proposed model used Meso-4 Architecure as in the research paper MesoNet: a Compact Facial Video Forgery Detection Network and was used for prediction of Fake Videos. We build our own custom model for data preprocessing and prediction which can be found in the .ipynb file. Model trained with accuracy of over 75% on training data and over 60% on testing data. Though the model show overfitting but it can be solved by adding more data. The graphs for accuracy and loss is as follows :