Hi all,
How can I go about setting the intensity of the IR Laser Dot Projector when setting up an OAK-D PoE Pro camera to run in standalone mode?
I use the following code to flash my pipeline to a device:
print("Flashing device...")
bootloader = dai.DeviceBootloader(device)
pipeline = create_pipeline(device.name, camera_port, script_path)
progress = lambda p: print(f"Flashing progress: {p*100:.1f}%")
(r, errmsg) = bootloader.flash(
progress,
pipeline,
memory=dai.DeviceBootloader.Memory.FLASH,
compress=True,
)
if r:
print("Flash OK")
else:
print("Flash ERROR:", errmsg)
How should I go about setting the intensity of the Laser Dot Projector? From the documentation I can see that when running a camera in host mode, it can be set up as follows:
with dai.Device(pipeline) as device:
device.setIrLaserDotProjectorIntensity(0.5) # in %, from 0 to 1
Will this also work for Standalone mode?
Georg