Skip to content

hanahs-deepfake-detection/detection-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

detection-algorithms

Deepfake detection algorithm zoo.

Project Setup

Dataset

DFDC

Download data from DFDC to dataset directory.

$ mkdir -p input/deepfake-detection-challenge
$ cd input/deepfake-detection-challenge
$ kaggle competitions download deepfake-detection-challenge
$ unzip deepfake-detection-challenge.zip
$ rm deepfake-detection-challenge.zip # unless you want to waste ~4GB disk space

FaceForensics

Refer to the download instructions by FaceForensics.

$ mkdir -p input/faceforensics
$ cd input/faceforensics
$ python $(faceforensics-download-script) .

Replace $(faceforensics-download-script) to the actual path of the script.

Dependencies

Install dependencies with this pip command:

$ pip3 install dlib jupyterlab numpy opencv-python pandas

Some dependencies, like dlib require build tools.