-
Notifications
You must be signed in to change notification settings - Fork 706
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
fix(object_recognition_utils): check polygon area on iou calculation #6701
fix(object_recognition_utils): check polygon area on iou calculation #6701
Conversation
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Dear @mebasoglu, Can you test it with the data you have? |
Hello @technolojin , I have tested with our data and confirmed that it works 👍. Thank you. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6701 +/- ##
==========================================
+ Coverage 14.94% 14.95% +0.01%
==========================================
Files 1939 1936 -3
Lines 133673 133576 -97
Branches 39756 39758 +2
==========================================
Hits 19971 19971
+ Misses 91456 91353 -103
- Partials 22246 22252 +6
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@scepter914 Can I request to review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(Operation confirmation by @technolojin )
…utowarefoundation#6701) * feat(object_recognition_utils): check input polygon on IoU calculations Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: MIN_AREA close to the epsilon of float 1e-6 Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…utowarefoundation#6701) * feat(object_recognition_utils): check input polygon on IoU calculations Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: MIN_AREA close to the epsilon of float 1e-6 Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Description
Fix a issue reported by @mebasoglu
ISSUE #6617
This PR is alternative of PR #6618.
Tests performed
Effects on system behavior
Prevent divide by zero on IoU calculation even abnormal objects size are come.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.