How can I get the height value of a certain pixel from the ground through the zed camera?

Hello, how can I get the height value of a certain pixel from the ground through the zed camera? I tried using the

> RIGHT_HANDED_Z_UP

coordinate system, but

z = point3D[2]

doesn’t seem to represent height. Looking forward to your help, thanks!

Hi,

Unless the ZED is on the floor and the floor is horizontal, you’ll have to substract the altitude of the point to the altitude of the floor.You can use our floor plane detection example to detect the floor : Plane Detection Overview | Stereolabs