raillabel.filter.end_time_filter module

class raillabel.filter.end_time_filter.EndTimeFilter(end_time: float | Decimal)

Bases: _FrameLevelFilter

Filter out all the frames in the scene with timestamps higher than the end_time.

_abc_impl = <_abc._abc_data object>
end_time: float | Decimal
passes_filter(_: int, frame: Frame) bool

Assess if a frame passes this filter.