raillabel_providerkit.validation.validate_horizon package

Submodules

raillabel_providerkit.validation.validate_horizon.validate_horizon module

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

Validate whether all track/transition annotations are below the horizon.

Parameters:

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

Returns:

List of all horizon crossing errors in the scene. If an empty list is returned, then there are no errors present.

Return type:

list[Issue]

Module contents

Package for validating a scene for annotations crossing the horizon.