Skip to content

Error in Face Recognition code #12

@samii-ullah

Description

@samii-ullah

can any one tell me what to do? i am receiving this error. How to resolve it?

recognizer.read('trainer/trainer.yml')
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv_contrib\modules\face\src\facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'cv::face::FaceRecognizer::read'

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