Items with no label
3335 Discussions

Ubuntu get depth image and video stream

zchen38
Beginner
2,745 Views

hi,

I want to do some image processing using depth and RGB stream of realsense D435 camera. but i am not able to integrate opencv with realsense sdk. how can i receive depth frame and RGB frame in Mat variable of opencv so that i can do some processing in it.

thanks !!

PS:If I want to program on ubuntu 16.04 and KDevelop with D435, what should I write in the CMakeLists.txt?

0 Kudos
6 Replies
MartyG
Honored Contributor III
680 Views

Developer UnaNancyOwnen has produced some sample programs for SDK 2.0 that use OpenCV. The code in these samples may be of use to you.

http://unanancyowen.com/en/realsense-sdk-2-samples/ Intel RealSense SDK 2 (librealsense2) Sample Program – Summary?Blog

https://github.com/UnaNancyOwen/RealSense2Sample/tree/master/sample RealSense2Sample/sample at master · UnaNancyOwen/RealSense2Sample · GitHub

I do not have information on your second question about CMakeLists, unfortunately. Hopefully someone can provide you with information about that. Good luck!

0 Kudos
zchen38
Beginner
680 Views
0 Kudos
zchen38
Beginner
680 Views

Do you know how to get the left and right color images and infrared images?

0 Kudos
MartyG
Honored Contributor III
680 Views

A script for getting left and right infrared streams was given on this page:

And this page discusses creating a a color stream:

0 Kudos
idata
Employee
680 Views

I did what you are trying to do. Check https://github.com/ToshiEAB/RealSense GitHub - ToshiEAB/RealSense: Sample C++ programs for running a RealSense camera (SR300, D415, and D435 models) on Window…

0 Kudos
zchen38
Beginner
680 Views

Do you know how to get the left and right color images and infrared images?

0 Kudos
Reply