1 | initial version |
One very utilized method is to have a reference point in your scene which you can detect easily. This reference point is your world reference and has coordinates (0,0,0). Then, with your X, Y and Z pixel information, you can determine the real world coordinates relatively to your reference point.
This obviously only works for still setups which can have a known reference object. Either way, you'll have to always make assumptions in order to derive real world coordinates.