label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Labels Not Aligned When Exported

Open talk2pankajx opened this issue 7 months ago • 3 comments

As we were trying to label the data on the label studio we faced this issue

To Reproduce Steps to reproduce the behavior:

  1. Draw labels
  2. Click on export the labels in VOC XML
  3. when the labels are exported we just try to plot them on the image to validate the bounding boxes Expected behavior As per the expected behavior we would see that the bounding box is drawn on the object according to label studio but the the bounding boxes has been outside of the object causing the accuracy and object detection to failed.

Screenshots

Image

Environment (please complete the following information):

  • OS: - windows 11
  • Label Studio Version - 1.17

Additional context Please help us fix this bug

talk2pankajx avatar May 16 '25 04:05 talk2pankajx

Hello,

Thank you for contacting Label Studio,

Could you please share the label configuration used so we can attempt to investigate from our end?

Best Regards!

Comment by Oussama Assili Workflow Run

heidi-humansignal avatar May 20 '25 16:05 heidi-humansignal

Hi, Thanks for replying for the issue

The label configuration as follows

rectangle configuration and here are the details of the config

Image

talk2pankajx avatar May 21 '25 05:05 talk2pankajx

Hello,

Thank you for the message! I was referring to the actual label configuration in XML format. Nonetheless, just to clarify how rotation works when you're labeling in Label Studio:

When you rotate a bounding box using your mouse in the labeling interface, the center of the rectangle acts as the anchor point for the rotation. This means the box spins around its own center — not from a corner or edge.

You can refer to the illustration found in this link for a visual explanation:

Thank you!

Comment by Oussama Assili Workflow Run

heidi-humansignal avatar May 26 '25 11:05 heidi-humansignal