CVHub520 / X-AnyLabeling

Effortless data labeling with AI support from Segment Anything and other awesome models.
GNU General Public License v3.0
3.23k stars 365 forks source link

How to customize the color here?" #487

Closed lhj5426 closed 1 week ago

lhj5426 commented 3 weeks ago

image "Hello, As shown in the picture, I've chosen a color that is very close to the target I want to select, which makes it not very obvious. I want to ask, can the color in these areas be customized?"

"The color of the tags is beyond my control. Coincidentally, it has become a color very similar to the color of the rectangle of the target I'm selecting. This really makes it difficult when marking targets. Could you please help me? Thank you."

https://github.com/CVHub520/X-AnyLabeling/assets/30548000/6ce8ba36-c53e-41ae-bca2-2165e44d1a6e

"Currently, I can control the color of the rectangle during the marking process. However, I cannot control the color of the rectangle after the mark has been made."

image "If possible, could it be presented in the form of a UI like this?" "Having various color choices directly operable within the UI is more intuitive. Otherwise, to change a color, I would need to open an additional color palette software to find the color, which is not very convenient. Could you consider this?"

lhj5426 commented 3 weeks ago

image "Also, as shown in the picture, could we add numbers here? It would be convenient for viewing and reading, and it would allow us to intuitively know how many marks there are on the current page."

CVHub520 commented 3 weeks ago

Hello, @lhj5426:

Thank you for reaching out with your issue. I'm pleased to inform you that the ability to customize the color of annotation boxes has been added in the latest version of the source code. To access this feature, please update your source code by running the command git pull origin main. Once updated, you can configure the annotation box colors under the Tools -> Modify Label menu option.

https://github.com/CVHub520/X-AnyLabeling/assets/72010077/78085f05-4bf9-4365-9b7f-044a89bb0b3d

Moreover, to differentiate between various annotation boxes, you can set a group_id parameter, assigning distinct values such as 0, 1, 2, 3, and so on to each group. This will help in managing and distinguishing between multiple targets.

image

If you encounter any issues or need further assistance with the update or customization, please feel free to ask. I'm here to help.

lhj5426 commented 3 weeks ago

image "I love you, such a fast speed. Thank you for adding the tag color selection feature. This is absolutely fantastic."

"The group feature you mentioned, well, it can be used as a tag to group items. However, it doesn't display the total number on the current page, and I have to count each time after making a mark. To be honest, it's not very convenient, and tagging itself is a tedious task. Counting on top of that, I'm afraid I might bore myself to sleep. Nonetheless, I appreciate your guidance and I'll give it a try. Still, I hope that the sequence number could be directly displayed on the side. Thank you for your help."

CVHub520 commented 3 weeks ago

Hi, there! @lhj5426

May be you can try press Ctrl+G.

lhj5426 commented 3 weeks ago

image "Well, this is the total count, not the count of the current page, haha. Thanks for your help, but it's still not quite the same."

CVHub520 commented 3 weeks ago

The label statistics component is currently being improved and will be available soon. Stay tuned for updates and thank you for your patience.

lhj5426 commented 3 weeks ago

"Thank you. I will keep looking forward to future updates!!!"

CVHub520 commented 3 weeks ago

Hi, @lhj5426:

I'm glad to inform you that you can obtain the statistics report for a given range by specifying the number.

image

lhj5426 commented 3 weeks ago

Hi, @lhj5426* :

I'm glad to inform you that you can obtain the statistics report for a given range by specifying the number.

image

Thank you! I'll go ahead and update it now. Thank you very much.

lhj5426 commented 3 weeks ago

image On Windows 10, after viewing, the close button in the top right corner is unclickable. I can't close the window or perform any other operations. I have to kill the process and restart.

lhj5426 commented 3 weeks ago

Is this a bug?

CVHub520 commented 3 weeks ago

Wait, let me check.

CVHub520 commented 3 weeks ago

The issue has been resolved. Please update to the latest version by performing a git pull.

lhj5426 commented 3 weeks ago

image Yes, this time I was able to close it normally. Thank you.

CVHub520 commented 3 weeks ago

Youโ€™re welcome. If you encounter any issue, please feel free to ask!

lhj5426 commented 2 weeks ago

Hello, @lhj5426* :

Thank you for reaching out with your issue. I'm pleased to inform you that the ability to customize the color of annotation boxes has been added in the latest version of the source code. To access this feature, please update your source code by running the command git pull origin main. Once updated, you can configure the annotation box colors under the Tools -> Modify Label menu option.

20-11-30.mp4 Moreover, to differentiate between various annotation boxes, you can set a group_id parameter, assigning distinct values such as 0, 1, 2, 3, and so on to each group. This will help in managing and distinguishing between multiple targets.

image

If you encounter any issues or need further assistance with the update or customization, please feel free to ask. I'm here to help.

I also want to ask if the colors can be fixed here. I mean, after restarting the software, it should maintain the original colors. Currently, every time I restart or the software crashes, the colors revert to the default settings when I open it again. Can I permanently customize and fix this in the code?

CVHub520 commented 2 weeks ago

@lhj5426, Just refer this.

lhj5426 commented 2 weeks ago

Thank you for the help. I have customized it successfully.

CVHub520 commented 2 weeks ago

@lhj5426 you're welcome! ๐Ÿ˜Š I'm thrilled that the information was beneficial to you. If you run into any snags or have further questions, please don't hesitate to get in touch.

Furthermore, if you stumble upon any specific challenges or bugs, crafting a minimal reproducible example can significantly expedite our ability to pinpoint and rectify the issue.

As a final note, ensure that you are using the most current version of the X-AnyLabeling repo to leverage the latest enhancements and bug fixes. This often helps in resolving unexpected hiccups.

Wishing you a joyful annotating adventure and the best of luck with your project! ๐ŸŒŸ๐Ÿš€