paul-pias / Object-Detection-and-Distance-Measurement

Using yolov3 & yolov4 weights objects are being detected from live video frame along with the measurement of the object from the camera without the support of any extra hardware device.
348 stars 118 forks source link

new issue found on rpi #22

Open mostafarahim opened 4 years ago

mostafarahim commented 4 years ago

python3.5 /home/pi/o/object_detection.py Traceback (most recent call last): File "/home/pi/o/object_detection.py", line 159, in ObjectDetection(id).main() File "/home/pi/o/object_detection.py", line 89, in init self.classes = load_classes('data/coco.names') File "/home/pi/o/util.py", line 81, in load_classes fp = open(namesfile, "r") FileNotFoundError: [Errno 2] No such file or directory: 'data/coco.names'

paul-pias commented 4 years ago

The error is implicit. Kindly check the data folder to find coco.names. If it's not there download it and place it there.