stereolabs / zed-sdk

⚡️The spatial perception framework for rapidly building smart robots and spaces
https://stereolabs.com
MIT License
794 stars 462 forks source link

Post-Hoc Point Cloud Creation #519

Open AlexanderKhazatsky opened 1 year ago

AlexanderKhazatsky commented 1 year ago

Preliminary Checks

Proposal

I would like to save exclusively the left image, right image, and depth measure. Later down the line, I would like to turn things into a colored point cloud. Currently, I only see how to make a point cloud live. Is there a way to make it with this data?

Thank you!

Use-Case

I am collecting a very large dataset across multiple labs and we already are having troubles with data storage.

I would like to get RGB images, compress them with mp4 (also do something similar for depth) and deal with point cloud stuff at a later time after data collection.

Anything else?

No response

lilianmallardeau commented 1 year ago

Hi @AlexanderKhazatsky, You can achieve what you want by using the SVO format, which will save all the camera data in a single file and allows later playback (and processing) with the SDK. Take a look at the following documentation page and examples: https://www.stereolabs.com/docs/video/recording/ https://github.com/stereolabs/zed-examples/tree/master/svo%20recording