BaseFrameFilter

Inheritance diagram of BaseFrameFilter

BaseFrameFilter inheritance diagram

class savant.base.frame_filter.BaseFrameFilter(**kwargs)

Frame filter interface.

abstract __call__(video_frame)

Filter for frames.

Parameters:

video_frame (VideoFrame) – Video frame.

Returns:

Whether to include the frame (True) or skip it (False).

Return type:

bool