Closed UserFLO closed 2 years ago
Hi @UserFLO The RealSense SDK has a C++ example program called rs-save-to-disk that demonstrates saving 2D depth and RGB to PNG image file.
https://github.com/IntelRealSense/librealsense/tree/master/examples/save-to-disk https://github.com/IntelRealSense/librealsense/blob/master/examples/save-to-disk/rs-save-to-disk.cpp#L34
@MartyG-RealSense Thank you for your answer. But i don't want to save the depth as 2D image but the capture from one single camera (left for example) and save it. (an image XYRGB) with openCV
Would Intel's RealSense OpenCV Getting Started tutorial at the link below help to meet your needs, please?
It provides example scripts for displaying color or left infrared images with the OpenCV imshow instruction. You could conceivably change imshow to the imwrite instruction to save the images instead of showing them on screen.
https://github.com/IntelRealSense/librealsense/issues/1480 also provides an example of scripting for exporting IR and color to PNG image file with imwrite.
Hi @UserFLO Do you require further assistance with this case, please? Thanks!
@MartyG-RealSense No thank you !
That's great to hear. Thanks very much for the update! As you do not require further assistance, I will close this case. Thanks again!
Hi, i would like to save a 2D image from D455. I succeed to get a depth but not the 2D image. How can i get this information with the command _auto frames = pipe.wait_forframes();
thank you ! This is my algorithm :