deep-anpr icon indicating copy to clipboard operation
deep-anpr copied to clipboard

error in detect.py

Open AQIB13 opened this issue 7 years ago • 1 comments

File "/Users/aqibfayyaz/Desktop/card/detect.py", line 179, in im = cv2.imread(sys.argv[1]) IndexError: list index out of range

AQIB13 avatar Sep 27 '17 18:09 AQIB13

sys.argv holds command line arguments. You must pass an image as a first argument:

./detect.py in.jpg

StasDeep avatar Nov 22 '17 19:11 StasDeep