VideoCamera
- class cscore.VideoCamera
Bases:
VideoSourceA source that represents a video camera.
- class WhiteBalance(value: SupportsInt | SupportsIndex)
Bases:
pybind11_objectWhite balance.
Members:
kFixedIndoor : Fixed indoor white balance.
kFixedOutdoor1 : Fixed outdoor white balance 1.
kFixedOutdoor2 : Fixed outdoor white balance 2.
kFixedFluorescent1 : Fixed fluorescent white balance 1.
kFixedFluorescent2 : Fixed fluorescent white balance 2.
- kFixedFluorescent1 = <WhiteBalance.kFixedFluorescent1: 5100>
- kFixedFluorescent2 = <WhiteBalance.kFixedFluorescent2: 5200>
- kFixedIndoor = <WhiteBalance.kFixedIndoor: 3000>
- kFixedOutdoor1 = <WhiteBalance.kFixedOutdoor1: 4000>
- kFixedOutdoor2 = <WhiteBalance.kFixedOutdoor2: 5000>
- VideoCamera.WhiteBalance.name -> str
- property value
- getBrightness() int
Get the brightness, as a percentage (0-100).
- setBrightness(brightness: SupportsInt | SupportsIndex) None
Set the brightness, as a percentage (0-100).
- setExposureAuto() None
Set the exposure to auto aperture.
- setExposureHoldCurrent() None
Set the exposure to hold current.
- setExposureManual(value: SupportsInt | SupportsIndex) None
Set the exposure to manual, as a percentage (0-100).
- setWhiteBalanceAuto() None
Set the white balance to auto.
- setWhiteBalanceHoldCurrent() None
Set the white balance to hold current.
- setWhiteBalanceManual(value: SupportsInt | SupportsIndex) None
Set the white balance to manual, with specified color temperature.