Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect eyes and mouth in android

Tags:

android

For detecting face I am reffering to http://developer.android.com/reference/android/media/FaceDetector.Face.html#. I am able to find eye differece and midpoint.But I am unable to show mouth position(lip position).

like image 795
luttu android Avatar asked Jul 16 '13 06:07

luttu android


2 Answers

You can only calculate approximate distance to mouth, manually.

This answer in link tell you more detailed: Android - Face feature detection

Also i recommend you use OpenCV for this purposes.

like image 53
artemiygrn Avatar answered Oct 13 '22 10:10

artemiygrn


opencv is best lib for working with face and eye Detection Using opencv you can do:
http://opencv-code.com/tutorials/eye-detection-and-tracking/
Example Code:
http://romanhosek.cz/android-eye-detection-and-tracking-with-opencv/

like image 25
Sanjay Bhalani Avatar answered Oct 13 '22 10:10

Sanjay Bhalani