Object position

we are using yolov7 custom object detection , how can we get 3d object position?

HI,
once you retrieve the object, as seen here:

you can get their positions:
https://www.stereolabs.com/docs/api/classsl_1_1ObjectData.html#a73ad5e3f5c238f322437399b54d8ec5e