how can we calculate the distance for car and Pedestrian in autonomous vehicle?
I would like to know how to calculate the distance for each car when i run my application for the autonomous vehicle in a real time.in addition i want to know how the calculation are writing in c++.
You could see in the images we can know the distance for each vehicle but i don't know what code should i use to make all these calculation for every vehicle .
please check the links to see the photos, so you could understand more about what i'm trying to achieve.
Also you could check the application for the autonomous vehicle in github
https://github.com/CPFL/Autoware
For Photos click here
This question is very unlikely to get any response for many reasons: tags are not accurate, your question is poorly formulated, the objective is not clear, and you are talking about a specific software that does not seem to be widely-used.
we are building a software for the autonomous vehicle and this software was writing by other company, and i want to know how did they made the calculation for the distance as you could see in the images.
If you refer as distance to the values on the boundin g boxes, I would say those are not distances, but likelihoods of the identification. In the first pic, you can see the red car is 0.3 while the white van is 0.26 but is clearly farther. It is too difficult to get distances with monocular cameras