VideoCamera
- class cscore.VideoCamera
Bases:
VideoSourceA source that represents a video camera.
- class WhiteBalance(value: SupportsInt | SupportsIndex)
Bases:
pybind11_objectWhite balance.
Members:
FIXED_INDOOR : Fixed indoor white balance.
FIXED_OUTDOOR1 : Fixed outdoor white balance 1.
FIXED_OUTDOOR2 : Fixed outdoor white balance 2.
FIXED_FLUORESCENT1 : Fixed fluorescent white balance 1.
FIXED_FLUORESCENT2 : Fixed fluorescent white balance 2.
- FIXED_FLUORESCENT1 = <WhiteBalance.FIXED_FLUORESCENT1: 5100>
- FIXED_FLUORESCENT2 = <WhiteBalance.FIXED_FLUORESCENT2: 5200>
- FIXED_INDOOR = <WhiteBalance.FIXED_INDOOR: 3000>
- FIXED_OUTDOOR1 = <WhiteBalance.FIXED_OUTDOOR1: 4000>
- FIXED_OUTDOOR2 = <WhiteBalance.FIXED_OUTDOOR2: 5000>
- VideoCamera.WhiteBalance.name -> str
- property value
- get_brightness() int
Get the brightness, as a percentage (0-100).
- set_brightness(brightness: SupportsInt | SupportsIndex) None
Set the brightness, as a percentage (0-100).
- set_exposure_auto() None
Set the exposure to auto aperture.
- set_exposure_hold_current() None
Set the exposure to hold current.
- set_exposure_manual(value: SupportsInt | SupportsIndex) None
Set the exposure to manual, as a percentage (0-100).
- set_white_balance_auto() None
Set the white balance to auto.
- set_white_balance_hold_current() None
Set the white balance to hold current.
- set_white_balance_manual(value: SupportsInt | SupportsIndex) None
Set the white balance to manual, with specified color temperature.