Open vikram291194 opened 3 years ago
Kindly check if you are using the exact version of the libraries mentioned in requirements.txt.
Check out the following relevant and easiest implementation.
https://github.com/HassanBinHaroon/object_detection-PLUS-distance_estimation-v1
i was testing your code, the program is taking the video input from my webcam but the bounding boxes and the distances are not being displayed. i have downloaded the updated version of this repo..also gone through the other issues regarding the video output issue.. i have used this line ==>frame = cv2.putText(frame, str("{:.2f} Inches".format(distance)), (w,h), cv2.FONT_HERSHEY_DUPLEX, 0.6, (0,0,255), 1, cv2.LINE_AA) and initialized the distance variable..but still the bounding boxes and the distance is not being show and called out..