Filter

class tools.manual.detected_faces.Filter(detected_faces: DetectedFaces)

Bases: object

Returns stats and frames for filtered frames based on the user selected navigation mode filter.

Parameters:

detected_faces (DetectedFaces) – The parent DetectedFaces object

Attributes Summary

count

The number of frames that meet the filter criteria returned by get().

frame_meets_criteria

True if the current frame meets the selected filter criteria otherwise False.

frames_list

The list of frame indices that meet the filter criteria returned by get().

raw_indices

The frame and face indices that meet the current filter criteria for each displayed face.

Attributes Documentation

count

The number of frames that meet the filter criteria returned by get().

frame_meets_criteria

True if the current frame meets the selected filter criteria otherwise False.

frames_list

The list of frame indices that meet the filter criteria returned by get().

raw_indices

The frame and face indices that meet the current filter criteria for each displayed face.

property count: int

The number of frames that meet the filter criteria returned by get().

property frame_meets_criteria: bool

True if the current frame meets the selected filter criteria otherwise False.

property frames_list: list[int]

The list of frame indices that meet the filter criteria returned by get().

property raw_indices: dict[Literal['frame', 'face'], list[int]]

The frame and face indices that meet the current filter criteria for each displayed face.