Android Camera Antenna Detector

I read its ability to use the built-in Android face detector to find the position of faces in a bitmap. Does anyone know any examples of this using the camera as an input?

+4
source share
1 answer

This is possible using the face detection APIs in ICS. Refer to the camera section on this page: http://developer.android.com/sdk/android-4.0.html

You must register a FaceDetectionListener and then call camera.startFaceDetection() . Please read the link above for more details.

I wrote some code examples. It's not perfect since it worked, but the face detection bit works just fine:

https://docs.google.com/open?id=0B2Nu5U2Cz81qZExGQ25sWVdRd21IOExUUTZsZzFoZw

+1
source

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


All Articles