Items with no label
3335 Discussions

Export Data and Import Data

PKuma35
Beginner
1,378 Views

I would like to save a color or depth image once I initiate the instance from the sense manager.

Do you have/recommend an easy way to save them as jpegs or pngs?

I also looked into the import data and export data functions available to export and import the data? Can you provide typical use cases for those function calls?

Do they save the files into the directory? kindly advise.

0 Kudos
3 Replies
MartyG
Honored Contributor III
266 Views

It is possible to do such a conversion with scripting. In my opinion, the link below is the best source of information for doing so.

https://stackoverflow.com/questions/32174076/how-to-save-an-image-in-intel-realsensevisual-c How to save an image in Intel RealSense(Visual C++) - Stack Overflow

0 Kudos
PKuma35
Beginner
266 Views

Thanks for your reply, MartyG

Can you please advise the use of the Import and Export data functions?

0 Kudos
MartyG
Honored Contributor III
266 Views

You could either:

1. Record the stream to an RSSDK file (which is based on an h.264 format video) and then play the file back.

https://software.intel.com/en-us/blogs/2015/10/15/how-to-record-and-playback-streaming-sequences-in-intel-realsense-sdk How to Record and Playback Streaming Sequences in Intel® RealSense™ SDK | Intel® Software

Or

2. Convert the RealSense data to a .mat file for use with OpenCV.

https://software.intel.com/en-us/forums/realsense/topic/538066 Use openCV with Intel Realsense SDK

0 Kudos
Reply