Items with no label
3338 Обсуждение

Ubuntu get depth image and video stream

zchen38
Начинающий
3 855Просмотр.

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 баллов
6 Ответы
MartyG
Почетный участник III
1 790Просмотр.

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!

zchen38
Начинающий
1 790Просмотр.
zchen38
Начинающий
1 790Просмотр.

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

MartyG
Почетный участник III
1 790Просмотр.

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

And this page discusses creating a a color stream:

idata
Сотрудник
1 790Просмотр.

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…

zchen38
Начинающий
1 790Просмотр.

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

Ответить