monkeymademe / picamera2-WebUI

This is a VERY basic WebUI for the Picamera2 Library for the Raspberry Pi
MIT License
83 stars 11 forks source link

Pull in camera settings to allow for Min Max and default #3

Closed monkeymademe closed 5 months ago

monkeymademe commented 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.

monkeymademe commented 5 months ago

Added default ranges for certain settings. Did not do this for all for example the checkboxes can't really use that.