Multiple FaceDetection

Sep 4, 2012 at 7:03 AM

Please I want to use this project to detect multiple face how can you help me ?

Sep 4, 2012 at 4:54 PM

Hi halaqaseam,

There is a boolean in the face detector that specifies whether you want to detect multiple faces or not. Here's an example for how to call the detect method to track multiple faces:

mdetector.getFaces(pixelDataInt, mcameraWidth / mdownsampleFactor, mcameraHeight / m_downsampleFactor, 2f, 1.25f, 0.1f, 1, true);

If you change the last parameter to false then the detector will just return the first face it finds.

Sep 5, 2012 at 3:38 PM

Thanks alot I'm so happy to help me in this issue realy now run  good luck