VideoCamera.set#
- VideoCamera.set(property: str, value: float) float[source]#
Set camera property
- Parameters:
prop (str) – camera property name
value (float) – new property value
- Returns:
parameter value
- Return type:
float
Set new value for the specified property. Value 0 is returned when querying a property that is not supported by the backend used by the VideoCapture instance.
Property
description
"brightness"image brightness (offset)
"contrast"contrast of the image
"saturation"saturation of the image
"hue"hue of the image
"gain"gain of the image
"exposure"exposure of image
"auto-exposure"exposure control by camera
"gamma"gamma of image
"temperature"color temperature
"auto-whitebalance"enable/ disable auto white-balance
"whitebalance-temperature"white-balance color temperature
"ios:exposure"exposure of image for Apple AVFOUNDATION backend
"ios:whitebalance"white balance of image for Apple AVFOUNDATION backend
- Seealso: