LowFreqQPicamera2

class LowFreqQPicamera2(*args: Any, **kwargs: Any)[source]

Bases: QPicamera2

A QPicamera2 subclass that renders frames at a lower frequency.

_frame_counter

Counter for skipped frames.

Type:

int

_good_frame

The interval at which frames should be rendered.

Type:

int

__init__(picam2, *args, framerate, **kwargs) None[source]

Initializes the LowFreqQPicamera2.

Parameters:
  • picam2 – The Picamera2 instance.

  • framerate (int) – The full framerate of the camera.

Methods

__init__(picam2, *args, framerate, **kwargs)

Initializes the LowFreqQPicamera2.

render_request(completed_request)

Renders requests only at the specified subsampled rate.

render_request(completed_request) None[source]

Renders requests only at the specified subsampled rate.

Parameters:

completed_request – The completed camera request.