Input frame size for getting the distance result.
rafiuddinkhan opened this issue · 3 comments
I was trying to find the distance of the bounding boxes. What exactly should be the frame size for the formula to work.
you have mentioned 640*480 and getting the bounding boxes and passing the (w,h)
coordinates. I am not getting the results. Can you suggest to replicate the result?
May I know the result in detail? What is your expected outcome and what you are getting? Are you measuring distance in Inches or in Centimeters?
My input frame is 300*300 and using mobilenetv2 for object detection and I am getting the bounding box and passing it to your formula and measuring the distance in inches. for instance(5.3 inches instead of 60 inches)
Kindly check the new update in the repo. Hope it will resolve your issues.