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

Yolo11 Boundary box is always rectangle #325

Open
darthvaddor opened this issue Oct 22, 2024 · 2 comments
Open

Yolo11 Boundary box is always rectangle #325

darthvaddor opened this issue Oct 22, 2024 · 2 comments

Comments

@darthvaddor
Copy link

I am trying to finetune yolo on my dataset to predict the object, but even if the object is skewed the boundary box is always and not a skewed rectangle. While training I labelled my dataset carefully, not just using standard rectangles, rather skewed 4 sided polygons to outline the object. But why is it that while predicting it doesnt do this

@darthvaddor
Copy link
Author

@LinasKo
Copy link
Collaborator

LinasKo commented Oct 22, 2024

Hi @JAVARSHA 👋

There are 3 types of annotations a model can support

  • Bounding boxes, which are always implied to be rectangles without any rotation.
  • Masks, which operate on pixel-level and can take any shape.
  • Oriented Bounding Boxes (OBB) which are rectangles, but rotated. This is the least popular method.

Very precisely detecting a skewed rectangle can only be done with masks and instance segmentation. I would suggest trying out oriented bounding boxes as well.

Hope this helps!

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

No branches or pull requests

2 participants