Ask Your Question
2

Measure distance from detected object using opencv

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

srinu ambati gravatar image

updated 2020-11-15 02:09:35 -0600

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
5

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

Haris gravatar image

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

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

Question Tools

Stats

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

Seen: 19,584 times

Last updated: Dec 14 '12