Closed rnkpareek closed 6 years ago
You must execute dataSetGenerator before.
Yeah.. iam executing the file in give sequence . Data generator, trainer and the last one.
On 28-Nov-2017 6:42 PM, "Jackson Smith" notifications@github.com wrote:
You must execute dataSetGenerator before.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thecodacus/Face-Recognition/issues/4#issuecomment-347519129, or mute the thread https://github.com/notifications/unsubscribe-auth/AZBnwqjgWc-tPsu_rWbPe2GRxVOqHoIBks5s7AazgaJpZM4QtMW3 .
I guess you are using opencv3, you have to install the opencv with contrib. then only you can use the face module in opencv3
Traceback (most recent call last): File "C:/Users/dell/Desktop/Face-Recognition-master/Face-Recognition-master/trainer.py", line 39, in
recognizer = cv2.face.LBPHFaceRecognizer_create()
AttributeError: 'module' object has no attribute 'face'