Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get raw IR images without turning off the laser emitter on D435i #6331

Closed
kevin2431 opened this issue Apr 30, 2020 · 4 comments
Closed
Labels

Comments

@kevin2431
Copy link


Required Info
Camera Model D435I
Firmware Version 05.12.03.00
Operating System & Version Ubuntu 16.04
Kernel Version (Linux Only) Ubuntu 18.04
Platform PC
SDK Version liberealsense 2.34
Language C++
Segment Robot

Issue Description

I am working on a project which needs stereo and depth images. If turn off the emitter, I can get raw IR images without patterns. However, in this way can not get high-quality depth images.
Is there any way to get raw stereo IR images without turning off the laser emitter on D435i?
Thanks!

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Apr 30, 2020

The visibility of the dot pattern projection is linked to the Laser Power setting. So you could render the pattern virtually invisible whilst keeping the emitter active by setting laser power to '1' (a setting of '0' turns the projector off).

You can set the Laser Power in the "Controls" section of the RealSense Viewer program's options side panel, or control it with scripting. The C++ version of this code is in the link below:

https://github.com/IntelRealSense/librealsense/wiki/API-How-To#controlling-the-laser

Please use the laser control code in the section headed 'Librealsense2'.

@MartyG-RealSense
Copy link
Collaborator

Hi @kevin2431 Do you require further assistance with this question please, or can this case be closed? Thanks!

@mydlgit
Copy link

mydlgit commented Jun 5, 2020

Hi @kevin2431 Do you require further assistance with this question please, or can this case be closed? Thanks!

The visibility of the dot pattern projection is linked to the Laser Power setting. So you could render the pattern virtually invisible whilst keeping the emitter active by setting laser power to '1' (a setting of '0' turns the projector off).

You can set the Laser Power in the "Controls" section of the RealSense Viewer program's options side panel, or control it with scripting. The C++ version of this code is in the link below:

https://github.com/IntelRealSense/librealsense/wiki/API-How-To#controlling-the-laser

Please use the laser control code in the section headed 'Librealsense2

hi, how to do this in python?

@MartyG-RealSense
Copy link
Collaborator

@mydlgit A Python script for setting laser power is in the link below.

#1258 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants