Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imho, that's a bug in the generated wrapper code. the 'label only' code shadows the 'label and confidence' part in pyopencv_cv_face_face_FaceRecognizer_predict .

as a quick workaround, remove the CV_WRAP here , and rebuild. this will disable the 'label only' version, but let you acess the confidence/distance.