I’m trying to figure out how to return the depth measurement reading from clicking on a pixel location in the left view video stream using python
Hello,
Once you have the position of your pixel, you can retrieve the depth value by using get_value()
on your sl.Mat
.
See the documentation : Mat Class Reference | API Reference | Stereolabs
Hi,
You should take a look at this python tutorial to know how to extract depth information :
So I combined the Depth tutorial and the ZED opencv example and am now able to extract the depth reading when I clink on the image. My next question is there some sort of calibration to make sure the depth measurement is accurate?