How to detect eyes and mouth in android

For face detection, I return to http://developer.android.com/reference/android/media/FaceDetector.Face.html# . I can find the eye differece and midpoint. But I can’t show the position of the mouth (lip position).

+6
source share
2 answers

You can only calculate the approximate distance to the mouth, manually.

This answer in the link will tell in more detail: Android - face function detection

I also recommend that you use OpenCV for these purposes.

+4
source

opencv is the best lib for face and eye recognition. Using opencv you can:
http://opencv-code.com/tutorials/eye-detection-and-tracking/
Code example:
http://romanhosek.cz/android-eye-detection-and-tracking-with-opencv/

+1
source

Source: https://habr.com/ru/post/949523/


All Articles