Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rail side validation #7

Merged
merged 12 commits into from
Nov 18, 2024
Merged

Implement rail side validation #7

merged 12 commits into from
Nov 18, 2024

Conversation

nalquas
Copy link
Collaborator

@nalquas nalquas commented Nov 18, 2024

Summary

This PR adds validation for the railSide attribute of track annotations in camera sensors.

Description

This PR adds validate_rail_side, which covers the following types of errors:

  • A track has more one left or right rail assigned within the same sensor frame.
  • A track has exactly one left and one right rail within the same sensor frame, but they are swapped.
  • A track has exactly one left and one right rail within the same sensor frame, but they intersect somewhere.

@nalquas nalquas requested a review from tklockau November 18, 2024 10:02
@nalquas nalquas force-pushed the rail_side_validator branch from 8b54430 to a702f6c Compare November 18, 2024 12:42
@unexcellent unexcellent merged commit 0473719 into main Nov 18, 2024
7 checks passed
@unexcellent unexcellent deleted the rail_side_validator branch November 18, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants