Skip to content

Error: performRecognition.py  #1

@kushal-vangara

Description

@kushal-vangara

Hi, I am getting the following error when I tried to run performRecognition.py
I am a noob to Python and OpenCV, please help.

Traceback (most recent call last):
File "C:/Users/User/Downloads/digitRecognition/performRecognition.py", line 24, in
rects = [cv2.boundingRect(ctr) for ctr in ctrs]
TypeError: points is not a numpy array, neither a scalar

Process finished with exit code 1

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