the values for sl.MEASURE.XYZ[RGBA] and sl.MEASURE.DEPTH should be consistent for given pixel coordinates. There is an issue in the API and (x,y) are in fact reversed for your depth map. Thank you for reporting it, it will be fixed in the next release ! (https://github.com/stereolabs/zed-examples/issues/380)
I am using the custom detector and calculating it there??
please help
has it been solved please?
@joeurban please provide more information about your configuration.
What depth model are you using? What resolution?
Please also note an important fact: DEPTH value and DISTANCE are not the same things.
The depth value is the āZā coordinate, while distance is the length of the straight line from the left CMOS sensor and the point.