Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Can't get predict confidence

$
0
0
When I run the predict(src) function, it returns only a int, instead of a int and a double. using help() throws this: Help on built-in function predict: predict(...) method of cv2.face_BasicFaceRecognizer instance predict(src) -> retval or predict(src) -> label, confidence or predict(src, collector[, state]) -> None The code I'm using is: nbr_predicted, conf = recognizer.predict(imgp)

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>