Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
RailLabel documentation
RailLabel documentation

Modules

  • raillabel
    • raillabel package
      • raillabel.filter package
        • raillabel.filter._filter_abc module
        • raillabel.filter.end_time_filter module
        • raillabel.filter.exclude_annotation_id_filter module
        • raillabel.filter.exclude_annotation_type_filter module
        • raillabel.filter.exclude_attributes_filter module
        • raillabel.filter.exclude_frame_id_filter module
        • raillabel.filter.exclude_object_id_filter module
        • raillabel.filter.exclude_object_type_filter module
        • raillabel.filter.exclude_sensor_id_filter module
        • raillabel.filter.exclude_sensor_type_filter module
        • raillabel.filter.include_annotation_id_filter module
        • raillabel.filter.include_annotation_type_filter module
        • raillabel.filter.include_attributes_filter module
        • raillabel.filter.include_frame_id_filter module
        • raillabel.filter.include_object_id_filter module
        • raillabel.filter.include_object_type_filter module
        • raillabel.filter.include_sensor_id_filter module
        • raillabel.filter.include_sensor_type_filter module
        • raillabel.filter.start_time_filter module
      • raillabel.format package
        • raillabel.format._attributes module
        • raillabel.format._sensor_without_intrinsics module
        • raillabel.format._util module
        • raillabel.format.bbox module
        • raillabel.format.camera module
        • raillabel.format.cuboid module
        • raillabel.format.frame module
        • raillabel.format.frame_interval module
        • raillabel.format.gps_imu module
        • raillabel.format.intrinsics_pinhole module
        • raillabel.format.intrinsics_radar module
        • raillabel.format.lidar module
        • raillabel.format.metadata module
        • raillabel.format.num module
        • raillabel.format.object module
        • raillabel.format.other_sensor module
        • raillabel.format.point2d module
        • raillabel.format.point3d module
        • raillabel.format.poly2d module
        • raillabel.format.poly3d module
        • raillabel.format.quaternion module
        • raillabel.format.radar module
        • raillabel.format.scene module
        • raillabel.format.seg3d module
        • raillabel.format.sensor_reference module
        • raillabel.format.size2d module
        • raillabel.format.size3d module
        • raillabel.format.transform module
      • raillabel.json_format package
        • raillabel.json_format._json_format_base module
        • raillabel.json_format.attributes module
        • raillabel.json_format.bbox module
        • raillabel.json_format.boolean_attribute module
        • raillabel.json_format.coordinate_system module
        • raillabel.json_format.cuboid module
        • raillabel.json_format.element_data_pointer module
        • raillabel.json_format.frame module
        • raillabel.json_format.frame_interval module
        • raillabel.json_format.metadata module
        • raillabel.json_format.num module
        • raillabel.json_format.num_attribute module
        • raillabel.json_format.object module
        • raillabel.json_format.object_data module
        • raillabel.json_format.poly2d module
        • raillabel.json_format.poly3d module
        • raillabel.json_format.scene module
        • raillabel.json_format.stream_camera module
        • raillabel.json_format.stream_other module
        • raillabel.json_format.stream_radar module
        • raillabel.json_format.stream_sync module
        • raillabel.json_format.text_attribute module
        • raillabel.json_format.transform_data module
        • raillabel.json_format.vec module
        • raillabel.json_format.vec_attribute module
      • raillabel.scene_builder package
        • raillabel.scene_builder.scene_builder module
Back to top
View this page

raillabel.filter.exclude_sensor_id_filter module¶

class raillabel.filter.exclude_sensor_id_filter.ExcludeSensorIdFilter(sensor_ids: set[str] | list[str])¶

Bases: _AnnotationLevelFilter

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

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

Assess if an annotation passes this filter.

sensor_ids: set[str] | list[str]¶
Next
raillabel.filter.exclude_sensor_type_filter module
Previous
raillabel.filter.exclude_object_type_filter module
Copyright © DB InfraGO AG and the raillabel contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • raillabel.filter.exclude_sensor_id_filter module
    • ExcludeSensorIdFilter
      • ExcludeSensorIdFilter._abc_impl
      • ExcludeSensorIdFilter.passes_filter()
      • ExcludeSensorIdFilter.sensor_ids