FaceSwapping

Project of Skoltech course "Introduction to Computer Vision"

Stars
18

Fase Swapping

Step-by-step solution

Based on this solution.

1. Face detection

2. Keypoints detection

3. Face cropping

4. Face triangulation

5. Reconstruction new face

6. Pull up new face

6. Seamless Cloning

Examples

Techology part

The most of the algorithms are written using openCV

  • Face detection: Haar Cascade
  • Keypoint detection: The cascade of regressors using dlib based on this paper
  • Face triangulation: simple Triangulation
  • Reconstruction: Affine projection each triangles
  • Color alignment: Seamless Cloning (details)