Closed monkeymademe closed 5 months ago
picam2.camera_controls offers the settings the camera can accept but also more importantly the range of values to each setting.
for example: 'LensPosition': (0.0, 32.0, 1.0)
Those values are Min, Max and Default.
WebUI should leverage this data and set the min and max for sliders and as part of the validation for input boxes.
Added default ranges for certain settings. Did not do this for all for example the checkboxes can't really use that.
picam2.camera_controls offers the settings the camera can accept but also more importantly the range of values to each setting.
for example: 'LensPosition': (0.0, 32.0, 1.0)
Those values are Min, Max and Default.
WebUI should leverage this data and set the min and max for sliders and as part of the validation for input boxes.