Reputation: 1011
I want to know following things is possible on Android or not.
Upvotes: 2
Views: 7538
Reputation: 817
There is a google example for detecting smile. Please check:
It is Android Vision API and requires Android Play Services SDK level 26 or greater.
Upvotes: 0
Reputation: 11669
Let's take thing in order :
FaceDetector
. However, this is a matter of face recognition, and many work has been done in research on this subject. A Google research should point you to the theoric papers relative to that, but I'm not sure they will all have an implementation.EDIT : the main image processing library used by researchers for this kind of subjects is OpenCV. You can find a Java wrapper for it here.
Upvotes: 6
Reputation: 8822
Extending Valentin Rocher's answer: I think in a limited way you can achieve it by doing following:
Iterate through the array of FaceDetector.Face objects, you can use following APIs and compare (i.e. fix one face as a reference and compare it with other in the array to find similarity/closeness)
confidence()
eyesDistance()
getMidPoint()
pose()
Upvotes: 1