How to get the real distance
Hey! I want to know the distance from the drone to the view. But I do not know how to get the real distance. Thanks.
I am wondering, too.
What do you mean distance from "the view"? Can you elaborate on your goal?
I'd like to recognize humans in the environment. Upon this, flying to the front of the human and maintain a specific distance from the human. How can I approach this?
depth map

for example, I want to know the distance from drone to tree, building,... What do these gray values represent the true distance? thanks.
Please look at HelloDrone.py example that shows how to get depth map as floats 2D numpy array. Each cell value then is distance.
Thank you for your reply.