Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I suggest you first try your app on PC, rather than jumping to Android.

The problems you face are common ones if you are using any of the OpenCV Face Recognition algorithms (LBPHFaces, FisherFaces, EigenFaces). Try using all of these. In your PersonRecognizer.java file, line 16, change createLBPHFaceRecognizer to createFisherFaceRecognizer or createEigenFaceRecognizer and see which works best for you.

As per the face inside face problem, once you detect face, you can restrict the blobs according to its size(length, width, area). As for the beard part, try using other cascade classifiers. If not, create your own.

Research on how you can improve the available techniques or implement another Face recognition algorithm. (Read related papers)