Items with no label
3335 Discussions

How do you export usable depth data and use it in another program?

APrat2
Beginner
1,449 Views

I am using the SR300 and C++ and i am trying to save the depth data(straight mm values) generated by the camera and be able to use it in another program. I have been able to save the raw stream in the .rssdk format, but there is not much you can do with that, i would like to get it in a .csv or any other file type that contains the data in an easily accessible way. I have tried everything I can find and nothing seems to work for me.

Any advice would be greatly appreciated. Thank you.

0 Kudos
4 Replies
MartyG
Honored Contributor III
513 Views

Some developers have used OpenCV to convert RealSense data to a .mat format file. Example:

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

0 Kudos
idata
Employee
513 Views

Hello prattal,

 

 

I was wondering if you could check the suggestion provided by MartyG.

 

 

If you have any update or question, don't hesitate to contact us.

 

 

Regards,

 

Andres V.
0 Kudos
jzhan57
Novice
513 Views

Hi,MartyG

I use the 2016R3 sdk, where there is not a PXCImage. It seems that PXCImage has been replaced by Image. I do not know what the 'planes' and 'pitches' meaning in the structure of ImageData?

0 Kudos
MartyG
Honored Contributor III
513 Views

A good starting point may be the R3 documentation's entry for Image, if you haven't been there already, as it redirects there when clicking on the PXCImage link.

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?pxcimage.html Intel® RealSense™ SDK 2016 R3 Documentation

0 Kudos
Reply