Closed arnold408 closed 1 year ago
Hi!
Thank you for asking. Unfortunately, the EasyPortrait dataset doesn't incorporate classes designated as "nostrils" or "white of the eye." The "white of the eye" is recognized as a part of the "left eye" or "right eye" classes. And nostrils are considered just not a part of the facial skin class.
Thanks for reply.
I want to paint the entire face with black color (including eyes, nose, lips, mouth etc.) . Hairstyle, ears, background, person should be painted white. I modified the color palette.
[[255, 255, 255], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]]
However, nostrils and white parts of the eyes are not painted black.
Can you please suggest. Thanks
I was thinking of a solution that might help you out. Using OpenCV's findContours, you can locate the nostrils and whites of the eyes and then fill them with black. I hope this idea works for you!
Thanks for reply. I will try.
Where is the color palette located?
How to color the nostrils and white part of eyes also?