thecodacus / Face-Recognition

Face Recognition tutorial code
Apache License 2.0
81 stars 73 forks source link

i am getting this error updating the file which was having issue. can you please help me #4

Closed rnkpareek closed 6 years ago

rnkpareek commented 6 years ago

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'

jacksonsmith commented 6 years ago

You must execute dataSetGenerator before.

rnkpareek commented 6 years ago

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 .

thecodacus commented 6 years ago

I guess you are using opencv3, you have to install the opencv with contrib. then only you can use the face module in opencv3