Reputation: 1
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
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