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

AttributeError: 'NoneType' object has no attribute 'copy'

Open delancre opened this issue 5 years ago • 0 comments

Hello!

Ive changed all dir paths to local ones because I want to be able to run the script only by terminal. However when I run it I get the following errors:

File "/home/kokot/Downloads/opencv-face-recognition-python-master/OpenCV-Face-Recognition-Python.py", line 326, in predicted_img1 = predict(test_img1) File "/home/kokot/Downloads/opencv-face-recognition-python-master/OpenCV-Face-Recognition-Python.py", line 298, in predict img = test_img.copy() AttributeError: 'NoneType' object has no attribute 'copy'

delancre avatar Mar 02 '20 16:03 delancre