class documentation

class PiCamera2CaptureMode(CaptureMode): (source)

View In Hierarchy

Capture mode configuration for the PiCamera2.

Class Variable stream_name The Picamera stream name to capture.
Class Variable streaming_mode The streaming mode the camera should be in for capture.
Class Variable timeout The timeout. A number above 10 risks hardlocking the Pi.

Inherited from CaptureMode:

Class Variable description Undocumented
Class Variable save_resolution The resolution to save the image. Use None to save as captured.
stream_name: Literal['lores', 'main'] = (source)

The Picamera stream name to capture.

streaming_mode: str | None = (source)

The streaming mode the camera should be in for capture.

Use None to use the active mode.

timeout: float = (source)

The timeout. A number above 10 risks hardlocking the Pi.