user25207027
user25207027

Reputation: 1

I designed a face recognition attendance system but I am continuously getting the error "module cv2.face has no attribute LBPHFaceRecognizer_create

I am working in va code and getting this error of cv2.face has no attribute ALBPHFacerecognizer_create.

What should I do? I tried my best gone through many YouTube videos tried every possible solution.

My protect is not showing the labelled image of already registered candidates due to the error

Upvotes: -1

Views: 108

Answers (1)

Bohdan
Bohdan

Reputation: 965

Try the following (and don't forget to correct the typo mentioned by @Ze'ev Ben-Tsvi):

import cv2.face
...
recognizer = cv2.face.LBPHFaceRecognizer.create()

Upvotes: 1

Related Questions