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

Object deletion (delete rectangle , polygon , ..) #797

Open
1 task done
ainayves opened this issue Jan 15, 2025 · 5 comments
Open
1 task done

Object deletion (delete rectangle , polygon , ..) #797

ainayves opened this issue Jan 15, 2025 · 5 comments
Labels
Clarified Tag for issues that are clearly agreed upon question Further information is requested

Comments

@ainayves
Copy link

Search before asking

  • I have searched the X-AnyLabeling Docs and issues and found no similar questions.

Question

Hello , X-AnyLabeling devs , I would like to know how should I do to delete some annotated objects ?
The delete key doesn't work on my side. Did I miss something ? Thank you in advance.

Additional

No response

@ainayves ainayves added the question Further information is requested label Jan 15, 2025
@CVHub520
Copy link
Owner

Hi @ainayves,

Thanks for raising this issue.

To delete annotated objects (rectangles, polygons, etc.) in X-AnyLabeling, please ensure the object you wish to delete is currently selected and highlighted. Once highlighted, you have a few options:

  1. Delete Key: Press the Delete key on your keyboard.
  2. Right-Click Menu: Right-click on the highlighted object and select "Delete" from the context menu.
  3. Label Container: You can also directly edit or delete objects within the label list/container usually located on the right-hand side of the interface.

Regarding your comment that "The delete key doesn't work," could you please provide more details? This could be due to a few reasons:

  • Object Not Selected: Ensure the object is actively selected and highlighted before pressing the Delete key.
  • Shortcut Conflict: It's possible there's a conflict with another application using the same shortcut.
  • Software Bug: Although less likely, there might be an issue within X-AnyLabeling itself.

If convenient, a short screen recording demonstrating the issue would be very helpful in diagnosing the problem.

If you suspect a shortcut conflict, you can customize the delete_polygon shortcut within your user configuration file located at ~/.xanylabelingrc. This allows you to assign a different key combination.

Please let us know if you have any further questions or can provide more information. We're here to help!

@CVHub520 CVHub520 added the Clarified Tag for issues that are clearly agreed upon label Jan 15, 2025
@ainayves
Copy link
Author

Thank you for your answer @CVHub520 ,

Is this what you mean by "highlighted " ??

image

I am using an inference model , but I think it is not related to my problem , right ^^??

Great tool , by the way !!

@ainayves
Copy link
Author

After some test, I found that when I am using SAM 2.1 models or GroundingDINO : I am not able to delete objects .
But on "YOLOv8-Det-BotSort" model , I can delete objects.

@CVHub520
Copy link
Owner

I'm not sure what the situation is on your end, but a general recommendation is to update your code to the latest version. You can do this with git pull origin main. I've also recorded a short video that I hope will help you.

22-13-30.mp4

Please note two points:

  1. Make sure you are in edit mode (the default shortcut is Ctrl+J, you can also customize it if needed), and the object being deleted is highlighted (for example, if it's a rectangle, the four corner points should be highlighted);
  2. For more information, you can refer to the official user manual: https://github.com/CVHub520/X-AnyLabeling/blob/main/docs/en/user_guide.md

@ainayves
Copy link
Author

Actually, I am using the latest exe FILE , here v2.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clarified Tag for issues that are clearly agreed upon question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants