Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.14 KB

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)