Ask Your Question
0

Measuring the physical distance between two points on an image

asked 2014-05-04 01:02:31 -0600

Suramrit gravatar image

As a requirement for a project, I need to find the walking step distance taken by a person, whose image while walking has been acquired. I have acquired a binary silhouette of the person using background subtraction and now need to calculate the actual physical distance of the step. Is there a method to convert pixel distance to physical distance in OpenCV? And if not, then what method can be applied to achieve the same?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-05-04 02:32:21 -0600

Philippe gravatar image

If you have a reference size somewhere in the image, you can use this. Possibly the height of the person if the image is taken at the correct angle. For all cases you will require a form of reference, either from a previous image in the same location, or a set of features on the same image as your silhouette.

edit flag offensive delete link more

Comments

So you mean I take a measured object in the image and use that to calculate the distance of the step? How do I use this reference, any ideas?

Suramrit gravatar imageSuramrit ( 2014-05-05 12:45:34 -0600 )edit

Question Tools

Stats

Asked: 2014-05-04 01:02:31 -0600

Seen: 1,394 times

Last updated: May 04 '14