-
Notifications
You must be signed in to change notification settings - Fork 542
Closed
Description
Its showing me an error like this

OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call the train method?) in cv::face::LBPH::predict, file C:\ci\opencv_1512685267089\work\opencv_contrib-3.3.1\modules\face\src\lbph_faces.cpp, line 400
Traceback (most recent call last):
File "faces.py", line 31, in
id_, conf = recognizer.predict(roi_gray)
cv2.error: C:\ci\opencv_1512685267089\work\opencv_contrib-3.3.1\modules\face\src\lbph_faces.cpp:400: error: (-5) This LBPH model is not computed yet. Did you call the train method? in function cv::face::LBPH::predict
Metadata
Metadata
Assignees
Labels
No labels