DefaultIngressFilter

Inheritance diagram of DefaultIngressFilter

DefaultIngressFilter inheritance diagram

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

Default ingress filter, filters out frames with no video data.

__call__(video_frame)

Filters input frames.

Parameters:

video_frame (VideoFrame) – Video frame.

Returns:

Whether to accept the frame into the pipeline (True) or skip it (False).

Return type:

bool