Android Face Detection and applying color to certain areas of the face, such as the jaw, lips, etc.

Can someone tell me how to apply color to some part of the body like lips, cheeks, nose.

  • I have successfully used the Google Api mobile vision to detect faces and face landmarks such as nose, mouth, cheeks, etc.

  • My goal is to apply color to the lips of my face, like lipstick makeup.

  • I find the mouth of the face with coordinates RIGHT_MOUTH, LEFT_MOUTH, BOTTOM_MOUTH. Therefore, I noticed a mouth exactly on the face with three dots (left, right, bottom).

  • I need to put some color (any) on my mouth for sure, so if a person opens his mouth, then it will only be applied on the lips.

  • I tried to draw an oval based on the glasses, but no luck. I thought that it shows an oval around the mouth, which is not correct.

I need to apply color to my lips exactly. So how to accurately calculate the area of ​​the lips / mouth.

Note: except openCV library

Is there a way to calculate the area of ​​the lips? Or any other.

Please offer. Thank you in advance.

+5
source share

All Articles