-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 optical distortion #2009
Fix optical distortion #2009
Conversation
Reviewer's Guide by SourceryThis pull request fixes an issue with optical distortion in bounding boxes. The main changes involve modifying the Updated class diagram for distortion_bboxes functionclassDiagram
class distortion_bboxes {
+np.ndarray distortion_bboxes(np.ndarray bboxes, np.ndarray map_x, np.ndarray map_y, tuple<int, int> image_shape)
}
class distortion_keypoints {
+np.ndarray distortion_keypoints(np.ndarray corners, np.ndarray map_x, np.ndarray map_y, tuple<int, int> image_shape)
}
distortion_bboxes --> distortion_keypoints : uses
note for distortion_bboxes "Updated to transform corners using distortion_keypoints and reshape back to bboxes format"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @ternaus - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Fixes: #2007
Summary by Sourcery
Fix optical distortion in bounding boxes by updating the distortion_bboxes function and add comprehensive test cases to ensure correct behavior.
Bug Fixes:
Tests: