Android Face Detection API
A cool feature I came across couple of days ago is the
"face recognition" API available from SDK 4.0 (API level 14).
Basically, it allows us to do is to detect faces from a
bitmap , but also detect specific facial featues, such as eyes and mouth.
How :
The Camera class allows you programmers to set a face detection listener with a callback method which is called when a face is detected. this method is passed with an Array which contains data for each face it detects.
Each face object in the array holds:
1. A unique ID which it is tracking so you'll be able to distinguish between the faces detected in the picture.
2. Data with the location of the user's eyes and mouth
3. Data with the boundary of the entire face
A tutorial will be published soon enough
Comments