Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to save realsense data without losing information #2149

Closed
uddhavbhattarai opened this issue Jul 25, 2018 · 3 comments
Closed

Best way to save realsense data without losing information #2149

uddhavbhattarai opened this issue Jul 25, 2018 · 3 comments
Assignees

Comments

@uddhavbhattarai
Copy link

uddhavbhattarai commented Jul 25, 2018

With realsense viewer I am able to save snapshot from different sensors individually and also .bag file to save all the information as video. How can I safe all images and ply files in disk at once? I am using D435.

@uddhavbhattarai uddhavbhattarai changed the title Best way to save realsense data Best way to save realsense data without losing information Jul 25, 2018
@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 25, 2018

If you tried to save all image and ply data in realtime, the performance of the stream would likely be very poor due to the processing load. It may be better to store the entire captured data in memory and then perform saving of the frames and any postprocessing at the end in a single action before exiting.

The Librealsense team created a function called Keep() for this kind of memory storage.

#1000

@dorodnic
Copy link
Contributor

Writing to PLY is very slow.
Best way to save realsense data without losing information would be the ROS-bag format.
Our built-in recorder will collect everything you need, and it is fairly well optimized, at least when running in Release.
You can then extract individual frames / models as a post-processing step.

@uddhavbhattarai
Copy link
Author

Thank you for the inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants