-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect mouth points #15
Comments
In the function |
is there a diagram to see which numbers correlate to which points? I thought that I would be adding the mouth points in FaceSwapper::getFacePoints() ? Thanks |
Here you go. Keep in mind that the points are 0 indexed in the code. https://i.stack.imgur.com/05uIT.jpg |
Thank you I appreciate the replies. I am confused as to where to use this. You said to zero out the masks in the mouth area. Not sure how to do this. I thought by adding mouth points to the array for bob and ann that the fillConvexPoly would automatically cut it out? Anything more you can tell me would help. Thanks |
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 zero out the part of the face masks where the mouth are located, I think it should work. |
Hey there, I am wondering how I would go about connecting the mouth points to each mask so that when I open my mouth it opens the mouth of the mask?
The text was updated successfully, but these errors were encountered: