Mateo Hrastnik
Mateo Hrastnik
Hey, thanks for the quick response. I tried running your code but i got stuck when cmake couldn't find OpenCV. Do I have to compile OpenCV or can I use...
I am aware of the artifacts when swapping faces with drastically different lighting (for example, if you swap face with a face on your phone screen it gets really weird)...
Yes, histogram matching is faster.
In the function `FaceSwapper::getMasks()` you should use the facial points to zero out the masks on the mouth area.
Here you go. Keep in mind that the points are 0 indexed in the code. https://i.stack.imgur.com/05uIT.jpg
In the method getMasks() the empty (all zeroes) matrix is being filled with 255. These are the areas where the faces are located or simply - face masks. If you...
You can get more points by training your own shape model, but the cost is longer computation time per frame. You could try performing a Delaunay triangulation on the existing...
What do you mean result is bad?
The image I got was produced by feeding the whole video to the algorithm and screencapping a random frame. The algorithm is not stateless (it can change based on previous...
This is great. I will look into it.