-1

Trying to build a mini face recognition project from a set of pictures in a folder

When trying to use LBPH algorithm to do so using:

recognizer = cv.face.LBPHFaceRecognizer()

I get:

"Unknown C++ exception from OpenCV code"

If I use:

recognizer = cv.face.LBPHFaceRecognizer_create()

the code doesn't recognize LBPHFaceRecognizer_create method.

I have tried uninstalling and reinstalling opencv-contrib-python and updating it many times, yet it still didn't work

To any of you who wants to check the full code, the link will redirect you FaceRecognizer.py link

0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.