We have implemented an automatic face swapping algorithm that searches and selects faces within an image and replaces them with another face with realistic results. Our algorithm identifies and uses the most suitable faces using a selection process, face extraction using an optimal seam search, and blending using linear RGB channel scaling and Poisson Editing.
For more information, you can refer to the report over here.
The complete implementation of our code can be found over here.
Here are some of the results of our algorithm. Given below are two faces.
We wish to swap the face of the image on the left with the face of the image on the right. This is the result our algorithm gives.