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

Rotation doesn't work out of the canvas #6836

Open
fsalmasri opened this issue Dec 31, 2024 · 3 comments
Open

Rotation doesn't work out of the canvas #6836

fsalmasri opened this issue Dec 31, 2024 · 3 comments

Comments

@fsalmasri
Copy link

If the bounding box is right at the edge of the image (canvas) we can't rotate it because it can't go beyond the canvas.

Is it possible to fix this ?

@heidi-humansignal
Copy link
Collaborator

Hello,

Currently, Label Studio restricts annotations to stay within the image canvas, which affects the ability to rotate bounding boxes at the edges. Our development team is aware of this limitation and is working on improving the annotation tools to allow more flexibility in such scenarios.
In the meantime, you might consider the following workaround:

  • Adjust the Bounding Box Temporarily: Try resizing or moving the bounding box slightly away from the edge to perform the rotation. After rotating, you can adjust it back to align with the edge of the image as needed.
  • Zoom Out the Image: If possible, zooming out may provide additional space around the image, allowing you to rotate the bounding box without exceeding the canvas boundaries.
    We understand that these are not perfect solutions, and we apologize for any inconvenience this may cause. Your feedback is valuable, and we'll prioritize enhancing this functionality in future updates of Label Studio.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@fsalmasri
Copy link
Author

fsalmasri commented Jan 7, 2025

These are not solutions but thank you for taking this into consideration.

@heidi-humansignal
Copy link
Collaborator

Yes, those are more of workarounds. I'll see if I can find the a solution for this. I'll create a ticket for it as well.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants