Ask Your Question
1

Measure distance from detected object using opencv

asked 2012-12-14 04:42:31 -0500

srinu ambati gravatar image

updated 2015-10-20 10:09:00 -0500

Hi all,

I have detected the circles using the HoughCircles method. Now I would like to find the distance from the object . So please give me some ideas or links. Thanks in advance .

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2012-12-14 06:31:06 -0500

Haris gravatar image

updated 2012-12-14 06:32:18 -0500

This link may be helpful if you know the focal length and sensor height of the camera. For far distance object you can use the equation by THE RULE OF 57

Distance of object= (Size of object * 360)/(2 * 3.14 * Angular size in degree).

For more information refer this link.

Hope these helpful....

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-12-14 04:42:31 -0500

Seen: 15,780 times

Last updated: Dec 14 '12