Saving all point clouds from an .svo

Hi,

I’m wondering if anyone knows of any existing code for saving a point cloud from all frames in an .svo file as .ply files rather than just saving them through depth viewer.

I’ve only seen codes that can save point clouds from a live camera feed and I’ve been unable to successfully modify any of them to be able to do what I need. Any advice or info from anyone would be really appreciated!

Thanks,
Aiden

Hi @UOAiden
you can use the sl::Mat::write function after each grabretrieveMeasure call:
C++: Mat Class Reference | API Reference | Stereolabs
Python: Mat Class Reference | API Reference | Stereolabs