Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

what predict function returns in createEigenFaceRecognizer()?

rec=cv2.createEigenFaceRecognizer(); sns,conf=rec.predict(Test_Image); One of the values it returns is sns the ID number of face detected and the other value it returns (conf) lies in range 1000 to 2000 .Does it returns 100*Error percentage (conf) ?

rec=cv2.createLBPHFaceRecognizer(); sns,conf=rec.predict(Test_Image); In case of createLBPHFaceRecognizer it returns id number (sns) and error percentage (conf) .

My questions is what does predict function of createEigenFaceRecognizer() returns ?