Mitesh Parmar
1 min readApr 25, 2020

--

Seems straight forward enough, but receive the following error on my MacBookPro:

File “/Users/macuser/python_files/python_programs/medium_projects/object_detection_programs/OD_10_lines.py”, line 24, in <module>

bbox, label, conf = cv.detect_common_objects(im)

File “/Users/macuser/miniconda3/lib/python3.7/site-packages/cvlib/object_detection.py”, line 119, in detect_common_objects

w = int(detection[2] * Width)

OverflowError: cannot convert float infinity to integer

Any ideas?

--

--

Mitesh Parmar
Mitesh Parmar

Written by Mitesh Parmar

Computer Scientist with an interest in AI

Responses (1)