notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Yolo11 Boundary box is always rectangle

Open darthvaddor opened this issue 1 year ago • 2 comments

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 avatar Oct 22 '24 11:10 darthvaddor

@SkalskiP @capjamesg @artyaltanzaya @gasparitiago

darthvaddor avatar Oct 22 '24 12:10 darthvaddor

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!

LinasKo avatar Oct 22 '24 12:10 LinasKo