Items with no label
3335 Discussions

Is it possible to run a depth stream AND a colour stream simultaneously off the same camera device via code?

KChow4
Beginner
888 Views

Hi,

 

I'm currently testing with the D415 Realsense camera and C++ on Visual Studio with both the RealSense and OpenCV libraries and I was just wondering if there was any way to run both a depth stream and a colour stream simultaneously off the same device without any problems.

 

If this is indeed possible, are there any examples of how this could be done?

 

Thanks in advance!

0 Kudos
1 Solution
MartyG
Honored Contributor III
325 Views

There is no problem at all with having a simultaneous depth stream and colour stream. RealSense SDK 2.0 has an example program in C++ called 'rs-capture' that displays a depth and colour stream side by side.

 

https://github.com/IntelRealSense/librealsense/tree/master/examples/capture

 

In the RealSense SDK 2.0 folder, you can also find a pre-built executable version of rs-capture in the folder location Intel RealSense SDK 2.0 > Tools

View solution in original post

2 Replies
MartyG
Honored Contributor III
326 Views

There is no problem at all with having a simultaneous depth stream and colour stream. RealSense SDK 2.0 has an example program in C++ called 'rs-capture' that displays a depth and colour stream side by side.

 

https://github.com/IntelRealSense/librealsense/tree/master/examples/capture

 

In the RealSense SDK 2.0 folder, you can also find a pre-built executable version of rs-capture in the folder location Intel RealSense SDK 2.0 > Tools

KChow4
Beginner
325 Views
0 Kudos
Reply