Thanks, so I guess in the picamera2 user guide, when it talks about a value, it is specifically talking about what would be passed into the Picamera2.set_controls() method, while for reading the controls (with Picamera2.camera_controls) I should expect the three-element tuples of (min, current, max)?The tuple you are looking at gives (min, max, default) values for the controls. So, for your AnalogueGain example, the minimum value is 1.0, max i s 63.9. I'm not sure why the default is set to None, that may need to be looked at further.Some examples:
* AnalogueGain is documented to be a single floating point value, but when I output it, I see a three element tuple. For example: (1.0, 63.9375, None),
* FrameDurationLimits is documented as being a two element tuple, but the output is a three element tuple.
For this first generation camera module, this is the list of controls and their outputs:
Code:
{'AeConstraintMode': (0, 3, 0), 'AeEnable': (False, True, None), 'AeExposureMode': (0, 3, 0), 'AeFlickerMode': (0, 1, 0), 'AeFlickerPeriod': (100, 1000000, None), 'AeMeteringMode': (0, 3, 0), 'AnalogueGain': (1.0, 63.9375, None), 'AwbEnable': (False, True, None), 'AwbMode': (0, 7, 0), 'Brightness': (-1.0, 1.0, 0.0), 'ColourGains': (0.0, 32.0, None), 'Contrast': (0.0, 32.0, 1.0), 'ExposureTime': (134, 1064891, None), 'ExposureValue': (-8.0, 8.0, 0.0), 'FrameDurationLimits': (16971, 1103354, None), 'HdrMode': (0, 4, 0), 'NoiseReductionMode': (0, 4, 0), 'Saturation': (0.0, 32.0, 1.0), 'ScalerCrop': ((16, 0, 256, 256), (16, 0, 2560, 1920), (16, 0, 2560, 1920)), 'Sharpness': (0.0, 16.0, 1.0), 'StatsOutputEnable': (False, True, None)}
Statistics: Posted by BarrowWight — Tue Mar 12, 2024 2:17 am