IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.55k stars 4.81k forks source link

Two RGB stream recording #11185

Open Aki1608 opened 1 year ago

Aki1608 commented 1 year ago

Required Info
Camera Model { D435 }
Firmware Version (05.14.00.00)
Operating System & Version {Ubuntu 20.04}
Kernel Version (Linux Only) (5.10.104-tegra)
Platform NVIDIA Jetson
SDK Version { legacy / 2.53.1 }
Language {N/A}
Segment {NA }

Issue Description

This is more like a question than a issue.

I want to know if it is possible to record video streams from both RGB camers?

MartyG-RealSense commented 1 year ago

Hi @Aki1608 RealSense cameras that are equipped with an RGB sensor only have one of them. The left and right sensors are infrared sensors.

It is possible to record both from RGB and color from the left infrared sensor on models that support it (D405, D415 and D455). A color stream from the left infrared sensor is not supported on the D435 and D435i models however.

Aki1608 commented 1 year ago

Ah okay. Understood. Thank you so much for the quick reply. :)

Aki1608 commented 1 year ago

I have another question. Is it possible to record a video of RGB frame and point cloud from SDK?

MartyG-RealSense commented 1 year ago

You are very welcome, @Aki1608 :)

You could not record a point cloud, but what you could do is record a bag file of the RGB and depth streams and then use that bag file as the data source in a script instead of a live camera and generate a pointcloud from the stored individual stream data in real-time.

Individual depth and RGB streams can also be saved as non-interactive .avi video files, like in the Python script for doing so at https://github.com/IntelRealSense/librealsense/issues/2731#issuecomment-529938267

Aki1608 commented 1 year ago

Okay. Thank you. :)