how can we calculate the distance for car and Pedestrian in autonomous vehicle?

asked 2015-09-01 22:24:54 -0600

DENSO gravatar image

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

http://i.stack.imgur.com/NJ4Nq.jpg

http://i.stack.imgur.com/SEpbP.jpg

edit retag flag offensive close merge delete

Comments

I think you don't have a clue of the complexity of this problem. First of all you need a way of creating 2D information, it either being stereo images or structure from motion. This is the only way to relate pixel information to an exact position in 3D space. Secondly, this forum is here to help you fix problems, not give you complete solutions. This is a very active research topic, so you will not find ready to use code for this!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-09-02 08:33:13 -0600 )edit