opencv-face-recognition-python icon indicating copy to clipboard operation
opencv-face-recognition-python copied to clipboard

Error:Int object is not Iterable

Open atharvanvaidya opened this issue 6 years ago • 0 comments

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.

atharvanvaidya avatar Apr 12 '18 17:04 atharvanvaidya