Closed DimitrisKld closed 2 years ago
Hi @DimitrisKld On 400 Series camera models that have a projector, it is a separate component from the left and right IR imagers and so infrared data can be obtained even when the projector is disabled or absent.
The role of the projector is to cast a semi-random pattern of dots onto surfaces in a scene so that the camera can use those dots as a texture source to analyze for depth information. This is useful for obtaining depth from objects and surfaces that have low texture detail or no texture, such as doors, walls and desks.
If the projector is disabled (or is not included on a particular RealSense camera model) then the amount of detail on the depth image can be reduced, making it more sparse. 400 Series cameras can though alternatively use ambient light in a well-lit scene to analyze surfaces for depth information instead of using the projector dots as a texture source.
The D405 model cannot see infrared dot patterns even if provided by another device, such as a different 400 Series model with a projector or an external infrared projector, as the sensors on the D405 have an IR Cut filter on them that makes infrared frequencies invisible to the camera. It should be able to see a projected pattern from an external projector that casts a visible pattern though.
On RealSense camera models that support color images from the infrared sensor (D405, D415 and D455), color can only be obtained from the left infrared sensor. On D405 the available formats are RGB8, BGR8, RGBA8 and BGRA8. Color is not available from both left and right infrared sensors.
@DimitrisKld How are you able to access both infrared streams on D405? Using the intel realsense viewer, it shows that I only have access to a single IR stream (usb 3.2).
Hi @michael-nc If you have a missing Infrared 2 stream on a USB 3.2 connection on Windows then it can indicate that there may be a problem with your two RealSense Depth and RGB camera drivers in the 'Cameras' section of the Windows Device Manager. If it is that problem then a procedure at the link below to completely remove and re-install the drivers can correct it.
https://support.intelrealsense.com/hc/en-us/community/posts/4419989666323/comments/4431239847443
@MartyG-RealSense thanks, that worked!!!
That's great to hear :)
Hi @MartyG-RealSense , thank you for the detailed explanation. Hi @michael-nc , I accessed both infrared streams using the pyrealsense and not with realsense-viewer.
Issue Description
Hi, I want to get the left and right images from the left and right sensors of D405 using the librealsense SDK. I managed to obtain them using the following lines of code:
However, I would like to ask you why I can access the images from the left and right sensors using the infrared stream, as the D405 does not have an infrared projector. Moreover, I would like to ask you if it possible to get color images from both left and right sensors, because I get grayscale images.
Thank you in advance.