10 year
Hi. I new in roborealm, and I have a problem.

How can I calculate the distance in meters in the detection of an object?

Steven from United States  [1445 posts] 10 year
You will need to know the pixel to meters factor. I.e. how much distance a pixel represents in the real world. This can be determined in many ways but will depend a lot on the image. If you are imaging a plane its not too hard, if you are not then some form of depth information is also needed in order to calculate distance. If you have a sample image of what you are trying to measure we can help further.

Anonymous 10 year
Hi steven.

For example, what is the distance in meters from the fire of the image?

I need the program in vbscript.


Steven from United States  [1445 posts] 10 year
We can't know without access to the physical environment. You would need to actually measure it and use that measurement to create that pixel height to distance ratio. I suggest several measurements at different distances to get a better accurate curve (note, the formula is not linear).

You can read more about this at



This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index