In this article I’m going to explain how to do face swapping using Opencv with Python in 8 simple steps. This is a quick explanation of each step, but I’ve also done for each of them an entire full tutorial where I show how to do the coding. You can download the full source code […]
We’re going to see in this video the “core” of face swapping, where we finally swap both faces and we can see the first interesting results. We will focuso on this tutorial on the explanation of only the swapping part, if you want to understand all the process from the beginning, go and check the […]
We’re going to see in this video how to select the corresponding triangles and warp them so that the triangles of the first image match exactly the triangles in the second image in shape and size. We keep the first part unchanged from the last tutorial. In this second part of the code where we […]
We are going to see in this third part of the tutorial how to find the triangulation of the second face and how to match each triangle of the first face with the ones in the second face. We will focus on this part on the descriptionof the new code that we added in comparison […]
We’re going to see in this tutorial how to split the face into triangles using Delaunay Triangulation. Why are we splitting the face into triangles?For face swapping this is the best approach to use, we split both the faces into triangles and then we swap the triangles in the corrispondent region.
We’re going to learn in this new tutorial series how to create the snapchat filter “Face swap”. In this first tutorial wi will learn how to: Get the external boundaries of the face Extract the face from the image Here below you will find the full source code and a really quick explanation. You will […]