Giter Site home page Giter Site logo

katinas15 / mesonet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dariusaf/mesonet

0.0 0.0 0.0 494 KB

"MesoNet: a Compact Facial Video Forgery Detection Network" (D. Afchar, V. Nozick) - IEEE WIFS 2018

License: Apache License 2.0

Python 100.00%

mesonet's Introduction

MesoNet

You can find here the implementation of the network architecture and the dataset used in our paper on digital forensics. It was accepted at the WIFS 2018 conference.

We present a method to automatically detect face tampering in videos. We particularly focus on two recent approaches used to generate hyper-realistic forged videos: deepfake and face2face. Traditional image forensics techniques are usually not well suited to videos due to their compression that strongly degrades the data. Thus, we follow a deep learning approach and build two networks, both with a low number of layers to focus on mesoscopic properties of the image. We evaluate those fast networks on both an existing dataset and a dataset we have constituted from online videos. Our tests demonstrate a successful detection for more than 98% for deepfake and 95% for face2face.

Link to full paper

Demonstrastion video (light)

Requirements

  • Python 3.5
  • Numpy 1.14.2
  • Keras 2.1.5

If you want to use the complete pipeline with the face extraction from the videos, you will also need the following librairies :

Dataset

Aligned face datasets

Set Size of the forged image class Size of real image class
Training 5111 7250
Validation 2889 4259
  • Training set (~150Mo)
  • Validation set (~50Mo)

Download link for the dataset

Pretrained models

You can find the pretrained weight in the weights folder. The _DF extension correspond to a model trained to classify deepfake-generated images and the _F2F to Face2Face-generated images.

Authors

Darius Afchar - École des Ponts Paristech | École Normale Supérieure (France)

Vincent Nozick - Website

References

Afchar, D., Nozick, V., Yamagishi, J., & Echizen, I. (2018, September). MesoNet: a Compact Facial Video Forgery Detection Network. In IEEE Workshop on Information Forensics and Security, WIFS 2018.

This research was carried out while the authors stayed at the National Institute of Informatics, Japan.

mesonet's People

Contributors

dariusaf avatar abhishekberaoctra 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.