Skip to content

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

Open
@delancre

Description

@delancre

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions