This project aims to use some computer vision concepts to build a tool for face morphing with a real-time webcam video stream.
- Python 3.8
- OpenCV 4.7.0
- Mediapipe 0.9.3
The application consists into 6 steps:
- Target face landmarks detection
- Source (webcam) face landmarks detection
- Delaunay triangulation calculation
- Warping of triangles of the two faces
- Alpha blending of the warped image
- *Homography * calculation and perspective warping
For more details see the related medium article.