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).
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.
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/
Related
I want to just put glass over eyes.
I can use the CameraX Library for taking picture.
and take some coordinates for eyes.
Any best way to approch this problem
Have you tried ML Kit's Face Detection API? It can detect facial "landmarks", including eyes.
There are a lot of information about face detection api, but I can't find any information about moving lips feature for android.
There is one for iOS ARKit
Can anyone suggest something ? Thank for advance!
I am making an app to calculate facial symmetry by comparing distance between points to golden ratio.So far,I tried
hardware.Camera.Face - gives face bounds and co-ords of eye and mouth centre.
media.FaceDetector.Face - it only gives face bounds and eye location.
I need face bounds PLUS eye,nose,mouth and ear bounds.
If anyone have used a library which can detect face points in image, please mention the name. Also, in your opinion how fast and accurate is it ?
OpenCV might be a good consideration, have a look at this example, http://romanhosek.cz/android-eye-detection-and-tracking-with-opencv/
OpenCV is a very powerful library for doing all kinds of face recognition and face detection work! Check it out
You might also try the new Android face detector, which detects several facial landmarks:
https://developers.google.com/vision/detect-faces-tutorial
I am working on an Android app where I need to detect the coordinates of the eyes, mouth and chin on a bitmap. I have seen other apps do it like Make Me Bearded use similar detection. I have worked with Face Detector but it only gives me the location for the eyes. Is there some algorithm or library that can help me with this? Please help me out.
You could use openCV, it has an android edition:
http://opencv.org/platforms/android.html
is there any library for detecting an eye in a given rectangle (and the eye's size) , while the camera preview is still showing its content (non stop) ?
i need to find an easy way to acheive this . i've found out that there is an API for face detection , and that on android 4 they also added eyes detection , but only if it found a face , yet i need to find an eye even without any face.
You could always ook at the source code for Android and see how they do Eye detection.
Otherwise check out this question: OpenCV eye tracking on Android
If you want to see an example of opencv on android, click on this open source code.
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/