Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White balance adjustment? #34

Open
Squuiid opened this issue May 20, 2018 · 1 comment
Open

White balance adjustment? #34

Squuiid opened this issue May 20, 2018 · 1 comment

Comments

@Squuiid
Copy link

Squuiid commented May 20, 2018

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.

@Squuiid
Copy link
Author

Squuiid commented May 20, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants