raillabel.filter.include_attributes_filter module¶
- class raillabel.filter.include_attributes_filter.IncludeAttributesFilter(attributes: dict[str, bool | float | str | list | None])¶
Bases:
_AnnotationLevelFilter
Filter out all annotations in the scene, that do NOT have matching attributes.
If an attribute has None as the value, all annotations are excluded, that do not have this attribute. If the value is anything other than None, all annotations are excluded that do not have the attribute or where the value does not match.
- _abc_impl = <_abc._abc_data object>¶