informramiz / opencv-face-recognition-python

Face Recognition using OpenCV and Python.
MIT License
517 stars 351 forks source link

Error:Int object is not Iterable #14

Open atharvanvaidya opened 6 years ago

atharvanvaidya commented 6 years ago

Gives the Following Error: Preparing data... Data prepared ('Total faces: ', 23) ('Total labels: ', 23) Predicting images... Traceback (most recent call last): File "OpenCV-Face-Recognition-Python.py", line 328, in predicted_img1 = predict(test_img1) File "OpenCV-Face-Recognition-Python.py", line 306, in predict label, confidence = face_recognizer.predict(face) TypeError: 'int' object is not iterable

You can view my forked code because I made some Changes.