IR Perception
IR Perception
Laser dot projector and flood LED are disabled by default.
Getting started
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
8# Or on the host:
9device.setIrLaserDotProjectorIntensity(0.5) # in %, from 0 to 1
10device.setIrFloodLightIntensity(0.0) # in %, from 0 to 1