Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 2.4.2 FaceRec_demo.cpp - Interpreting output of Predict function

Hi All, I'm running the OpenCv2.4.2 Sample code Facerec_demo.cpp (Using Eigen Faces) on Fedora Linux (Code is here http://docs.opencv.org/trunk/modules/contrib/doc/facerec/facerec_tutorial.html).

I'm not able to interpret the PredictedLevel and Confidence values of the Predict functions. I also checked the output for various conditions of having matching and nonmatching input image. I have also gone through the OpenCV 2.4.2 documenation but not very clear about the interpretation of output of predict function?. The Test results of predict function is as follows. 1. For matching Input face -> predictedLabel = 0; Confidence =0 2. For Non matching Input Face -> predictedLabel = 1; Confidence =-1602920021 3. For Slightly matching- means i have only 1 image in face database matching this image. then: predictedLabel = 1; Confidence =1594149678. Request you to help me understand these values. I read in the documentation that, the predictedLabel should be -1 for nonmatching images but i'm getting 1?

Please let me know what Predictedlabel and Confidence values i should get for matching, non matching and slightly matching images? Please suggest

click to hide/show revision 2
No.2 Revision

OpenCV 2.4.2 FaceRec_demo.cpp - Interpreting output of Predict function

Hi All, I'm running the OpenCv2.4.2 Sample code Facerec_demo.cpp (Using Eigen Faces) on Fedora Linux (Code is here http://docs.opencv.org/trunk/modules/contrib/doc/facerec/facerec_tutorial.html).

I'm not able to interpret the PredictedLevel and Confidence values of the Predict functions. I also checked the output for various conditions of having matching and nonmatching input image. I have also gone through the OpenCV 2.4.2 documenation but not very clear about the interpretation of output of predict function?. The Test results of predict function is as follows. 1.

  1. For matching Input face -> predictedLabel = 0; Confidence =0 2.
  2. For Non matching Input Face -> predictedLabel = 1; Confidence =-1602920021 3.
  3. For Slightly matching- means i have only 1 image in face database matching this image. then: predictedLabel = 1; Confidence =1594149678.

Request you to help me understand these values. I read in the documentation that, the predictedLabel should be -1 for nonmatching images but i'm getting 1?

Please let me know what Predictedlabel and Confidence values i should get for matching, non matching and slightly matching images? Please suggest

click to hide/show revision 3
retagged

OpenCV 2.4.2 FaceRec_demo.cpp - Interpreting output of Predict function

Hi All, I'm running the OpenCv2.4.2 Sample code Facerec_demo.cpp (Using Eigen Faces) on Fedora Linux (Code is here http://docs.opencv.org/trunk/modules/contrib/doc/facerec/facerec_tutorial.html).

I'm not able to interpret the PredictedLevel and Confidence values of the Predict functions. I also checked the output for various conditions of having matching and nonmatching input image. I have also gone through the OpenCV 2.4.2 documenation but not very clear about the interpretation of output of predict function?. The Test results of predict function is as follows.

  1. For matching Input face -> predictedLabel = 0; Confidence =0
  2. For Non matching Input Face -> predictedLabel = 1; Confidence =-1602920021
  3. For Slightly matching- means i have only 1 image in face database matching this image. then: predictedLabel = 1; Confidence =1594149678.

Request you to help me understand these values. I read in the documentation that, the predictedLabel should be -1 for nonmatching images but i'm getting 1?

Please let me know what Predictedlabel and Confidence values i should get for matching, non matching and slightly matching images? Please suggest