I’ve been messing around with the FaceDetector and Face classes in Android and can’t seem to get the FaceDetector.findFaces method to populate the faces array with any Face objects in ICS. I have tried running it in a 4.0 emulator and on my Galaxy Nexus running 4.0.2 and the array is never populated with any Face objects. I tried running the same app on a 2.2 emulator and it works perfectly. Did I miss something or is this a bug?
I’ve been messing around with the FaceDetector and Face classes in Android and can’t
Share
According to the documentation, the Bitmap has to be in 565 format. To elaborate more, here’s how you should load an image:
I thought it was a bug too, because someone reported it. Maybe Google changed something in 4.0 and updated the documentation.