Ipython Notebook describing swapping of faces in images using Delaunay Triangulation and Affine Transformation.
Sample Images:
-
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSx8Pu1tW1uCiZPfj9K1EL6uHxbg3bOKO9XkA&usqp=CAU
-
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYX1dyl9INRo5cbvDeTILRcZVzfcMsCsE0kg&usqp=CAU
Pretrained Dlib Predictor: https://github.com/tzutalin/dlib-android/raw/master/data/shape_predictor_68_face_landmarks.dat