Three-Project Series

Detecting Deepfakes Using Visual Inconsistencies you own this product

intermediate Python • beginner scikit-learn and scikit-image • basics of OpenCV
skills learned
face detection • SVM classification • image processing • building a binary classification system
Pavel Korshunov
3 weeks · 6-10 hours per week average · INTERMEDIATE
filed under

In this series of liveProjects, you’ll step into the role of a forensics consultant. You’re investigating a ring of cyber criminals who are blackmailing prominent social media personalities with scandalous “deepfake” videos. These videos use a deep learning model to splice a victim’s face onto an actor, creating highly realistic content that can be indistinguishable from the real thing. Your boss wants you to develop a method to efficiently detect these deepfakes from a huge data set of online videos. The method needs to be fast, and also run without needing GPU resources, which are in short supply. Each project in this series covers a different aspect of developing this deepfake detecting solution, with essential computer vision and machine learning skills you can easily transfer to other tasks.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

here's what's included

Project 1 Detect Faces in Videos
Face detection has numerous applications across software and is an essential part of the pipeline for detecting deepfake videos. In this liveProject, you’ll implement a component that detects faces in videos, and normalizes them to the same size and visual appearance. This component is a vital foundation for a deepfake detection system.
$29.99 $19.99
add to cart
Project 2 Analysis and Feature Extraction
Feature extraction is an essential part of detecting deepfake videos. In this liveProject, you’ll analyze both deepfaked and real video data in order to determine what features are common in faked videos. You’ll then compute those features for faces detected in the videos to determine which are fake and which are real.
$29.99 $19.99
add to cart
Project 3 Detection with SVM
In this liveProject, you’ll develop a machine learning solution that can identify the difference between faces in deepfake videos and real faces. You’ll use a support-vector machine (SVM) classifier approach to determine which videos have the artifacts associated with deepfakes, and combine face detection, feature extraction, and your SVM classifier together in one pipeline to create your detection system.
$29.99 $19.99
add to cart

project author

Pavel Korshunov
Pavel Korshunov is a researcher at Idiap Research Institute, Switzerland, working on detection of audio-visual inconsistencies and Deepfakes. Previously, he worked on problems related to high dynamic range imaging, crowdsourcing, and visual privacy. He received PhD from National University of Singapore and MSc from St. Petersburg State University, Russia. He has over 70 research papers with several best paper awards and is a co-editor of JPEG XT standard.


This liveProject is for developers who know Python, the basics of machine learning, and the basics of processing image data. To begin this liveProject, you will need to be familiar with the following:

  • Basics of Jupyter Notebook
  • Basics of OpenCV
  • Basics of scikit-learn
  • Basics of Matplotlib
  • Basics of scikit-image
  • Basic signal and image processing
  • Basic image feature and metrics computation
  • Basic understanding of how classification systems are evaluated
  • Basic understanding of classification with linear support vector machine

you will learn

In this liveProject, you’ll learn techniques and tools for image processing and face detection. These skills are easily transferable to common computer vision challenges you’ll face in industry.

  • Read and process videos frame by frame
  • Detect and crop faces
  • Normalize and scale faces
  • Align faces according eyes location


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
includes 3 liveProjects
liveProject $47.99 $59.99 self-paced learning