# IR Perception

The PRO line-up of Luxonis devices has [notch IR filters at
940nm](https://github.com/luxonis/oak-hardware/assets/18037362/b3e5caf3-1dd9-4156-b9a9-d81041945230) 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.

### Dot Projector

Enhancement of the depth perception

[Dot Projector](https://docs.luxonis.com/hardware/platform/features/ir-perception/dot-projector.md)

### Flood IR

Enhancement of low light performance

[Flood IR](https://docs.luxonis.com/hardware/platform/features/ir-perception/flood-ir.md)

> **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.

More information about laser safety can be found
[here](https://docs.luxonis.com/hardware/platform/features/ir-perception/laser-safety.md).

## Getting started

You can set IR laser dot projector and illumination LED via the API as below:

```python
# Either within Script node:
script = pipeline.create(dai.node.Script)
script.setScript("""
  Device.setIrLaserDotProjectorIntensity(0.5)
  Device.setIrFloodLightIntensity(0)
""")

# Or on the host:
device.setIrLaserDotProjectorIntensity(0.5) # in %, from 0 to 1
device.setIrFloodLightIntensity(0.0) # in %, from 0 to 1
```
