raillabel.filter.include_annotation_id_filter module

class raillabel.filter.include_annotation_id_filter.IncludeAnnotationIdFilter(annotation_ids: set[UUID] | list[UUID])

Bases: _AnnotationLevelFilter

Filter out all annotations in the scene, that do NOT have the correct ids.

_abc_impl = <_abc._abc_data object>
annotation_ids: set[UUID] | list[UUID]
passes_filter(annotation_id: UUID, _: Bbox | Cuboid | Poly2d | Poly3d | Seg3d, __: Scene) bool

Assess if an annotation passes this filter.