YOLOv3-Object-Detection-with-OpenCV icon indicating copy to clipboard operation
YOLOv3-Object-Detection-with-OpenCV copied to clipboard

not working on image

Open itsunofficial opened this issue 5 years ago • 0 comments

Traceback (most recent call last): File "C:\Users\KESHAV KUMAR\Desktop\minor_project\YOLOv3-Object-Detection-with-OpenCV\yolo.py", line 104, in height, width = img.shape[:2] AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\KESHAV KUMAR\Desktop\minor_project\YOLOv3-Object-Detection-with-OpenCV\yolo.py", line 107, in Please check the path provided!' TypeError: exceptions must derive from BaseException

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\KESHAV KUMAR\Desktop\minor_project\YOLOv3-Object-Detection-with-OpenCV\yolo.py", line 110, in img, _, _, _, _ = infer_image(net, layer_names, height, width, img, colors, labels, FLAGS) NameError: name 'height' is not defined

itsunofficial avatar Feb 18 '20 20:02 itsunofficial