VideoCamera.get#
- VideoCamera.get(property: str | None = None) float | dict[str, float][source]#
Get camera property
- Parameters:
prop (str) – camera property name
- Returns:
parameter value
- Return type:
float
Get 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: