Skip to content

Tismoney/FaceSwapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fase Swapping

Step-by-step solution

Based on this solution.

1. Face detection

step_1

2. Keypoints detection

step_2

3. Face cropping

step_3

4. Face triangulation

step_4

5. Reconstruction new face

step_5_idea step_5_gif

6. Pull up new face

step_5_end

6. Seamless Cloning

step_5_end

Examples

ex1

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)

Releases

No releases published

Packages

No packages published