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

Can you add a 'Select All' and persistent highlight feature? #682

Open
1 of 2 tasks
lhj5426 opened this issue Oct 16, 2024 · 8 comments
Open
1 of 2 tasks

Can you add a 'Select All' and persistent highlight feature? #682

lhj5426 opened this issue Oct 16, 2024 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lhj5426
Copy link

lhj5426 commented Oct 16, 2024

Search before asking

  • I have searched the X-AnyLabeling issues and found no similar feature requests.

Description

bandicam.2024-10-16.22-27-39-351.mp4

https://github.com/user-attachments/assets/1f8a70da-f8fd-4e10-8228-466b39968824
As shown in the video, I have also taken screenshots.
Please refer to the images.
image

First, as shown in the image, if position 1 is empty, you can quickly select all by moving the mouse to position 2 and dragging upwards.

image

Then, as shown in the image, when the number of labels exceeds the display capacity of the UI frame, the user must use the scrollbar on the right to scroll down to the very bottom, hold down the Shift key, and drag the scrollbar back to the top to select everything.

This method of not having a “select all” option makes copying position labels on similar pages somewhat inconvenient.
Secondly, if the highlight feature could have an on/off toggle and remain persistent, it would provide a clearer visual representation of the coverage area compared to a single rectangle. Please refer to the two comparison images.
image

image

Could an additional shortcut be added to show or hide all highlights, similar to the show/hide all rectangles function?

bandicam.2024-10-16.22-38-57-892.mp4

https://github.com/user-attachments/assets/e0e5f3a0-d73c-41a1-b30d-a06978cdbd60
Just like in the video, where a single keypress shows or hides rectangles, could a shortcut key be added to toggle all highlights on and off with one click? This would be extremely helpful for viewing the overall selected areas in the image. These two features have no downsides and would only improve efficiency.

Use case

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@lhj5426 lhj5426 added the enhancement New feature or request label Oct 16, 2024
@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

image
I believe it is very necessary to have the ability to click the mouse to select all corresponding tags on the current page. The two features mentioned in this issue would only increase efficiency without any negative impact, unlike previous issues that didn't consider the timeframe. I hope the developers can seriously consider adding the options for selecting all tags by category and a persistent toggle for highlight coverage.

In this way, the highlight reverse operation would work as follows: after activating all highlights, those that have been adjusted will revert to ordinary rectangles and no longer display highlights, while those that have not been adjusted will continue to show highlights

The software itself has this functionality, but it only applies to the labels after copying and pasting, not globally. So, I hope this time it can be implemented as a global feature.

bandicam.2024-10-16.22-54-19-291.mp4

Moreover, without a "select all" option, activating this feature without copying labels is also inconvenient

@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

This feature is truly beneficial from a visual perception standpoint. It makes the areas much clearer and allows for an overview of all positions in the entire image, enabling global highlighting when needed.

@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

The persistent highlight for intuitive viewing is very friendly for my eyes, especially since I use the software for over 10 hours a day for annotation and corrections. It provides a clearer view, eliminating the need to mouse over each rectangle to highlight it just to check the selected areas.
So, I sincerely hope that the developers can add this feature.

@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

I don't have the technical skills to adjust the model's parameters, so I can only rely on investing a lot of time and effort into bulk annotation and corrections. My goal is to train an ideal model through sheer quantity. That's why I spend a significant amount of time annotating image data every day. After long hours, my eyes get very tired. However, this highlighting feature can really ease the strain on my eyes because it's so intuitive. It allows me to focus on where to make corrections immediately, without having to spend a long time checking before I make adjustments.
So, I'm begging the developers, please!

@CVHub520
Copy link
Owner

Hi @lhj5426; I understand your need very well, and I appreciate the detailed feedback you've provided about this feature. Your insights on how it would improve your workflow, especially for long annotation sessions, are valuable.

I'm sorry that i currently don't have the resources to address every request, even though this one seems particularly beneficial. I hope that the community might be able to help develop this feature. Thank you for your passion and dedication to improving the tool!

@CVHub520 CVHub520 added the help wanted Extra attention is needed label Oct 16, 2024
@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

Yes, thank you for your response. At least expressing this makes me feel a bit better. Otherwise, using the software every day would be uncomfortable, 和 keeping it bottled up doesn't feel good either. I hope the community can provide some help. I really regret not pursuing programming.

This is such a great tool! If I knew how to program, I could add some creative ideas myself and share them with the community. Unfortunately, I don't have those skills.

@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

image
I tried using "highlight" as a keyword to search through the entire source code and found four files that contain the keyword.

image
Then, I uploaded these four files to the AI and made inquiries about them.

image
D:\000A\X-AnyLabeling-yolo11\anylabeling\views\labeling\shape.py
I learned that by modifying the part of the source code shown in the image to change self.selected = to True, the highlights can be set to remain persistent by default.

bandicam.2024-10-17.03-08-31-526.mp4

As shown in the video, although there is no "select all" option, achieving a default global highlight solves part of the problem.

@lhj5426
Copy link
Author

lhj5426 commented Oct 16, 2024

image
I also asked the AI how to add a shortcut key to enable global highlighting when needed. However, this involves modifying three files, and since I can only copy and paste, the AI keeps leaving out parts, so I end up unsure where to paste the code or where to find the right spots. It’s honestly beyond my ability, haha. Still, after consulting the AI, I discovered that the developer actually built this feature but just left it disabled by default. This alone was a big win for me, as now it’s much easier on my eyes. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants