raillabel.filter.include_object_id_filter module

class raillabel.filter.include_object_id_filter.IncludeObjectIdFilter(object_ids: list[UUID])

Bases: _AnnotationLevelFilter

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

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

Assess if an annotation passes this filter.