-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
IR Stream in the dark room (white laser dots cleaning) #8978
Comments
Hi @DuyguSerbes You are referring to the bright white dots covered all over the infrared image when the laser is set at maximum power, yes? Instead of using the camera's built-in projector, you could provide illumination for the camera by using a patternless external IR illuminator in the scene, as described in the link below. |
Hello @MartyG-RealSense even if I didn't set a maximum, the bright white dots covers the image. I don't have external illuminator. Is there a any solution for this problem? I want to use infrared images for computer vision so I need clean images. |
You could enable the Emitter On-Off option so that the emitter rapidly alternates between on and off on a per-frame basis, and create a script that only captures frames where the emitter status is 'off'. You can test whether this solution may work for you in the RealSense Viewer. Enable the Emitter On-Off option and on the infrared stream, tap the space bar on the keyboard quickly to pause and unpause the stream. When you manage to pause at a frame where the dot pattern is inactive, check whether the infrared image is still visible when the dot pattern is off. This pause-unpause technique is demonstrated in the images below. |
I believe It would work. Is there any available script written in C/C++ or Python to manage Emitter on/off option. I try to use frames directly in my code. So I should take the frames directly from camera without using realsense-viewer. |
There is a Python script that features enabling of the emitter on-off feature in the opening message of the link below. The C++ equivalent would be something like: depth_sensor.set_option(RS2_OPTION_EMITTER_ON_OFF, 1); |
Hi @DuyguSerbes Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
Hello all,
I want to get infrared stream in the dark environment conditions. In order to do that I increase laser power but it creates white laser dot on the image. How can I get rid of this kind of issues? When I drop laser power to 0 or 1, the white laser dots dont be visible but rest of image become black.
Do you have any solution to get clean IR stream in the dark room?
The text was updated successfully, but these errors were encountered: