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.
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'
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'