Skip to content
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

Proper set mask to mean function #11

Open
tmbo opened this issue Jul 2, 2015 · 0 comments
Open

Proper set mask to mean function #11

tmbo opened this issue Jul 2, 2015 · 0 comments

Comments

@tmbo
Copy link
Collaborator

tmbo commented Jul 2, 2015

Currently we are replacing every occurrence of 0 in the image with the mean, converting every black pixel to a mean pixel. This obviously also changes the color of pixels that are not part of the mask.

Possible solution:

  • get rid of resizing (probably not a good idea anyway). Already crop a properly sized image from the face video.
  • draw the ellipse with image independent parameters (we are actually doing that already, but the problem is the resizing of the frames after painting the ellipse). First in black and in the second pass with the mean color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant