Skip to main content

CameraFormat Class

Package: GHIElectronics.Endpoint.Devices.Camera
Namespace: GHIElectronics.Endpoint.Devices.Camera

A picture size a camera has, what it sends for it, and its highest frame rate.

class CameraFormat: ...

Properties​

Height​

Height: int # @property

Picture height in pixels.

Returns int

MaxFrameRate​

MaxFrameRate: int # @property

Frames per second

Returns int

PixelFormat​

PixelFormat: CameraPixelFormat # @property

What the camera sends for this size.

Returns CameraPixelFormat

Width​

Width: int # @property

Picture width in pixels.

Returns int

Methods​

ToString()​

def ToString(self) -> str:

Returns a human-readable description like "640x480 Mjpeg 30 fps".

Returns string