3.5. IR Parameter Settings
3.5.1. Set IR AE
Pipeline pipeline = new Pipeline();
Device device = pipeline.GetDevice();
// True open IR AE, False: close IR AE
device.SetBoolProperty(PropertyId.OB_PROP_IR_AUTO_EXPOSURE_BOOL, true);
3.5.2. Set IR Exposure/Gain
Pipeline pipeline = new Pipeline();
Device device = pipeline.GetDevice();
// Close IR AE
device.SetBoolProperty(PropertyId.OB_PROP_IR_AUTO_EXPOSURE_BOOL, false);
// set IR exposure
device.SetIntProperty(PropertyId.OB_PROP_IR_EXPOSURE_INT, 100);
// set IR gain
device.SetIntProperty(PropertyId.OB_PROP_IR_GAIN_INT, 64);