CameraDrawBase

class CameraDrawBase[source]

Bases: object

Base class for defining custom camera draw on frame behavior.

This class can be overridden to implement specific actions.

__init__() None[source]

Initializes the CameraDrawBase instance.

Methods

__init__()

Initializes the CameraDrawBase instance.

draw(cam)

Draws on the camera frame based on the camera's state.

draw(cam: Camera) None[source]

Draws on the camera frame based on the camera’s state. :param cam: The camera instance providing the :type cam: Camera :param frame and state.: