GithubHelp home page GithubHelp logo

imadtoubal / multimodaldeepfakedetection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 492.81 MB

An open-source repository that provides the code for the research conducted at the NSF University of Missouri REU Summer 2020

License: MIT License

Python 10.71% Jupyter Notebook 89.22% Dockerfile 0.07%

multimodaldeepfakedetection's Introduction

MultimodalDeepfakeDetection

An open-source repository that provides the code for the research conducted at the NSF University of Missouri REU Summer 2020

Command to process landmarks

python landmark_preprocess.py path/to/processed/videos path/to/save/output

Input folder should be a folder containing top-level folders real and fake. These folders contain video-label-named folders which will contain faces in JPEG file format.

Command to process 1D DCT of Landmarks

python dct.py path/to/processed/video/ path/to/save/output

Input folder should be a folder containing top-level folders real and fake. These folders contain video-label-named folders in which landmark-named folders (mouth, nose, both-eyes) are hosted. This dct.py script will take these images and save them in numpy sequences of seq-size. See dct.py --help for more information.

Command to process LipNet Sequences of Mouth

python lipnet_sequence.py path/to/processed/video-landmarks/ path/to/save/output

Input folder should be a folder containing top-level folders real and fake.

input_folder
    - real
        - *.mp4
    - fake
        - *.mp4

These folders contain video-label-named folders in which landmark-named folders (mouth, nose, both-eyes) are hosted. This lipnet_sequence.py script will take the mouths in this directory and save them into torches and then send this sequence through the LipNet model and extract the final features before the fully connected layer. See lipnet_sequence.py --help for more information.

multimodaldeepfakedetection's People

Contributors

imadtoubal avatar jklewis99 avatar hchen309 avatar

Stargazers

SiameseCat avatar

Watchers

James Cloos 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.