raillabel_providerkit.validation.validate_ego_track_both_rails package

Submodules

raillabel_providerkit.validation.validate_ego_track_both_rails.validate_ego_track_both_rails module

Validate that both rails (left and right) of the ego track exist in center cameras.

raillabel_providerkit.validation.validate_ego_track_both_rails.validate_ego_track_both_rails.validate_ego_track_both_rails(scene: Scene) list[Issue]

Validate that ego track has both left and right rails in center cameras.

This validator checks: 1. That the y-ranges of left and right ego track rails overlap 2. That exactly one left and one right rail exist at the common y position

Parameters:

scene (raillabel.Scene) – Scene that should be validated.

Returns:

List of all ego track rail issues. If an empty list is returned, then there are no errors present.

Return type:

list[Issue]

Module contents

Validation for ego track having both rails.

raillabel_providerkit.validation.validate_ego_track_both_rails.validate_ego_track_both_rails(scene: Scene) list[Issue]

Validate that ego track has both left and right rails in center cameras.

This validator checks: 1. That the y-ranges of left and right ego track rails overlap 2. That exactly one left and one right rail exist at the common y position

Parameters:

scene (raillabel.Scene) – Scene that should be validated.

Returns:

List of all ego track rail issues. If an empty list is returned, then there are no errors present.

Return type:

list[Issue]