Platform

ON THIS PAGE

  • IR Perception
  • Getting started

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.More information about laser safety can be found here.

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
You can set these two parameters in DepthAI Viewer in the Depth drop-down menu: