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

Handle bounding boxes on the edge properly #3

Open
shoumikchow opened this issue May 3, 2021 · 3 comments
Open

Handle bounding boxes on the edge properly #3

shoumikchow opened this issue May 3, 2021 · 3 comments
Labels
good first issue Good for newcomers

Comments

@shoumikchow
Copy link
Owner

Labels on the edge of the box aren't handled properly.
If an object detection model detects an image at the edge of the frame, there is a chance that some portions of a bounding box is outside the frame itself. That is, some of xmin, xmax, ymin, ymax might be negative or larger than the image dimension itself. In cases like these, OpenCV handles it by not drawing the bounding box at all.

Ideally, it should draw the lines that are outside the image dimensions along the edge.

@shreyasvedpathak
Copy link

Hey, I would like to try this issue. Can I go ahead?

@shoumikchow
Copy link
Owner Author

Absolutely! Feel free to fork and submit a PR.

@shreyasvedpathak
Copy link

Please check #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants