Open Squuiid opened 6 years ago
Options for raspivid and raspistill are as follows. Not sure if Homebridge-camera-rpi uses any of these in the background? Rotate, verticalFlip and horizontalFlip are there so perhaps some of these could also be added? Guessing here of course as I am no developer :)
--sharpness, -sh Set image sharpness (-100 - 100)
Sets the sharpness of the image. 0 is the default.
--contrast, -co Set image contrast (-100 - 100)
Sets the contrast of the image. 0 is the default.
--brightness, -br Set image brightness (0 - 100)
Sets the brightness of the image. 50 is the default. 0 is black, 100 is white.
--saturation, -sa Set image saturation (-100 - 100)
Sets the colour saturation of the image. 0 is the default.
--ISO, -ISO Set capture ISO (100 - 800)
Sets the ISO to be used for captures.
--vstab, -vs Turn on video stabilisation
In video mode only, turns on video stabilisation.
--ev, -ev Set EV compensation (-10 - 10)
Sets the EV compensation of the image. Default is 0.
--exposure, -ex Set exposure mode
Possible options are:
auto: use automatic exposure mode night: select setting for night shooting nightpreview: backlight: select setting for backlit subject spotlight: sports: select setting for sports (fast shutter etc.) snow: select setting optimised for snowy scenery beach: select setting optimised for beach verylong: select setting for long exposures fixedfps: constrain fps to a fixed value antishake: antishake mode fireworks: select setting optimised for fireworks Note that not all of these settings may be implemented, depending on camera tuning.
--awb, -awb Set Automatic White Balance (AWB) mode
Modes for which colour temperature ranges (K) are available have these settings in brackets.
off: turn off white balance calculation auto: automatic mode (default) sun: sunny mode (between 5000K and 6500K) cloud: cloudy mode (between 6500K and 12000K) shade: shade mode tungsten: tungsten lighting mode (between 2500K and 3500K) fluorescent: fluorescent lighting mode (between 2500K and 4500K) incandescent: incandescent lighting mode flash: flash mode horizon: horizon mode Note that not all of these settings may be implemented, depending on camera type.
https://www.raspberrypi.org/documentation/raspbian/applications/camera.md
Does anyone know of a way of adjusting the white balance on the camera? I have a white wall in the background and it uses that to set the white balance meaning that anything in front of it comes up as extremely dark.