A project as a part of the Data Mining and Cybersecurity for Business Intelligence Summer Programme at the BGU International
Table of Contents 🗓
This project focuses on developing a video content authenticity detection system.
We are able to determine whether a face in a video is fake or real by doing a Euler video magnification of the video and then analysing the frames using the model.
There are a myriad of possible approaches that can be taken to tackle this problem. The most common ones are: Using CNN to detect Edge/regional anomalies, Identify spacial and temporal inconsistencies, or make the use of the experience of a pre-existing model to classify the video as pristine or fake.
- Numpy
- sys
- dlib
- skimage
- cv2
- math
- matplotlib
- os
- Pandas
- PIL
- TensorFlow
- First run the itercrop on the extracted frames of the video.
- Next run the stich.ipynb to create a stitched video of the cropped facial region from the extraced frames.
- now run the main.py with the recently generated video and get the heartrate of the identified person.
The forementioned libraries should be installed in order for the code to run properly. All the libraries can be downloaded to the specified version using the following command:
- npm
npm install npm@latest -g
- library
npm install library_name_here -g
👉 Download this file to run the facial extractor
- Indentify possible datasets
- Balance the data
- Create meta.csv (labels)
- Create a preprocessing pipeleine
- Extraction of frames from videos
- Facial indentification and landmark extraction
- Cropping of face according to the extracted landmarks
- Stitching of frames to form video ready for EVM
- Created FFT from the ROI to identify frequency for the EVM
- Create an implementation of the Euler Video Magnification
- Train a LSTM based classifier to identify if the final processed video is "Pristine" or "Fake".
- Create an automated pipeline for end to end processing
- Deploy the model.
Rishit Saraf - @rishitsaraf - [email protected]
Devansh Pratap Singh - [email protected]
Project Link: https://github.com/rishitsaraf/remoteheartrate_deepfake_detection
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!