Ask Your Question
0

module 'cv2.face' has no attribute 'LPBHFaceRecognizer'

asked 2020-02-22 16:20:41 -0600

Nilmar gravatar image

Exception has occurred: AttributeError module 'cv2.face' has no attribute 'LPBHFaceRecognizer' File "C:\Users\Nilmar\Documents\trainner.py", line 7, in <module> recognizer = cv2.face.LPBHFaceRecognizer()

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-02-22 22:27:39 -0600

LBerger gravatar image

updated 2020-02-22 22:28:26 -0600

what is your opencv version? in opencv4 and 3.4.9 doc is here for cv.face.LBPHFaceRecognizer_create( [, radius[, neighbors[, grid_x[, grid_y[, threshold]]]]] )

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-02-22 16:20:41 -0600

Seen: 141 times

Last updated: Feb 22 '20