Cropping Pointcloud

Hello, is there a way I can crop the point cloud with
zed.retrieve_measure(self.point_cloud_left_tmp, sl.MEASURE.XYZRGBA)
? Or do I have to write my own function?

Hi @Phyrokar
you could use the ROI feature of the SDK, the sl::Mat is not cropped, but it will contain only the part of the cloud that you are interested in:
https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1Camera.html#ae8e5e4f9258d30c1a4985442c43716b9

1 Like