This might be a trivial question, but I'm a bit confused here.
Starting from this example: depth_preview, I'm trying to calculate the actual distance (in mm) to a specific point in my frame.
I have tried something like this:
inDepth = q.get() # blocking call, will wait until a new data has arrived
frame = inDepth.getFrame()
But the values I get back do not make much sense. What does 20 mean in this case??
What am I missing here? How do I calculate actual physical distance?