How to calculate position from depth pass of the ZED camera?
zed2-camera-datasheet.pdf tells the

Baseline is 120mm
Focal length is 2.12mm

such that based on the fx,fy, you can find the pixel to mm ratio.
You have the local length, baseline, the object coordinates, the principle coordinates. The triangulation is formed, and the depth estimation can be found using ZED depth formula