Skip to the content.

03 Face Recognition - I

URL: https://master.d165apizgrkyke.amplifyapp.com/

Demo

demo


How does it work ?

It uses dlib’s library to detect 68 points on the face, this will help us align the face, since the face in the image might be skewed or not facing directly in front.

Once that is done we will create a mask for each of the faces, i.e. by creating a convex hull out of the detected 68 points, now we will create delaunay traingles, so we can simply swap these triangles between the faces, or apply the triangles from one face to the other !

Notebook: https://github.com/satyajitghana/TSAI-DeepVision-EVA4.0-Phase-2/blob/master/03-FaceRecognition-I/FaceSwap.ipynb

Code


NOTES