VideoMode
- class cscore.VideoMode(*args, **kwargs)
Bases:
pybind11_object
Video mode
Overloaded function.
__init__(self: cscore._cscore.VideoMode) -> None
__init__(self: cscore._cscore.VideoMode, pixelFormat_: cscore._cscore.VideoMode.PixelFormat, width_: int, height_: int, fps_: int) -> None
- class PixelFormat(value: int)
Bases:
pybind11_object
Members:
kUnknown
kMJPEG
kYUYV
kRGB565
kBGR
kGray
kY16
kUYVY
- kBGR = <PixelFormat.kBGR: 4>
- kGray = <PixelFormat.kGray: 5>
- kMJPEG = <PixelFormat.kMJPEG: 1>
- kRGB565 = <PixelFormat.kRGB565: 3>
- kUYVY = <PixelFormat.kUYVY: 7>
- kUnknown = <PixelFormat.kUnknown: 0>
- kY16 = <PixelFormat.kY16: 6>
- kYUYV = <PixelFormat.kYUYV: 2>
- property name
- property value
- compareWithoutFps(other: cscore._cscore.VideoMode) bool
- property fps int
- property height int
- property pixelFormat int
- property width int