4 years
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 Gentner from United States  [1370 posts] 4 years
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 4 years
Hi steven.

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

I need the program in vbscript.


Steven Gentner from United States  [1370 posts] 4 years
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