IR Perception
The PRO line-up of Luxonis devices has notch IR filters at 940nm on the stereo camera pair, which allows both visible light and IR light from illumination LED/laser dot projector to be perceived by the camera.Laser dot projector and flood LED are disabled by default due to safety reasons! That's because most people would prefer intentionally enabling the laser dot projector when they are wearing eye safety gear.
Getting started
You can set IR laser dot projector and illumination LED via the API as below:Python
1# Either within Script node:
2script = pipeline.create(dai.node.Script)
3script.setScript("""
4 Device.setIrLaserDotProjectorIntensity(0.5)
5 Device.setIrFloodLightIntensity(0)
6""")
7
8with dai.Device(pipeline) as device:
9 # Or, using the dai.Device object from the host:
10 device.setIrLaserDotProjectorIntensity(0.5) # in %, from 0 to 1
11 device.setIrFloodLightIntensity(0.0) # in %, from 0 to 1