|
Calculate_distance Anonymous |
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?
Thanks
program.robo
|
|
|
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.
STeven.
|
|
|
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.
program.robo
|
|
|
Steven from United States [1445 posts] |
10 year
|
|