Skip to content

Error again #4

@junaidleo

Description

@junaidleo

Its showing me an error like this

error
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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions