How can I efficiently annotate small targets?
Search before asking
- [x] I have searched the X-AnyLabeling issues and found no similar feature requests.
Description
In the target detection task, if the target is small and there are many targets in a picture, you need to zoom the picture back and forth and then adjust the boundary of the target box. If you click the mouse on the target and then zoom with Ctrl + mouse, this function is defined as automatic, which should improve a lot of standard efficiency. From an annotation point of view, the ability to automatically zoom objects is more effective than the ability to move images
Use case
The player in this picture needs to zoom back and forth many times
Additional
This function can be roughly divided into two parts. The first part uses specific labels to enter single object display mode, for example F2 and then single object selection, while F3 and F4 are used for object switching. The second part can also be opened with a label similar to using F5, so that after opening F5, the software can enlarge the label box according to the relative coordinate information of the label box. The third f2 and F5 are types of parent-child functions. When F2 is turned on, F5 is enabled; when F2 is disabled, F5 is disabled. The first part of the function is relatively easy to achieve, that is, through a single goal to learn to choose. The second part of the zoom function is not easy to get. I tried, but there was no way to zoom in on the labeled area. Try debugging, can not solve the scroll bar value passed in the problem.
Are you willing to submit a PR?
- [ ] Yes I'd like to help by submitting a PR!
Hey there, @ljh725!
Thank you for reporting this issue. For small object annotation tasks, we strongly recommend using the Loop through labels feature in combination with the wheel zooming functionality to adjust bounding boxes more efficiently. You can watch the demonstration video below for detailed instructions on how to use these features.
-
Loop through labels: This feature allows you to cycle through different label classes with auot-zoom quickly. You can activate it using the shortcut Ctrl + Shift + N.
-
Wheel zooming for bounding box adjustment: To enable this feature, modify the configuration file located in your user directory (~/.xanylabelingrc). Look for the
wheel_rectangle_editingfield and set its value toTrueand make suer you are using the latest commit branch. This will allow you to use the mouse wheel to zoom in and out while adjusting bounding boxes smoothly.
For more detailed discussions and related configurations, please refer to issue #989.
If you encounter any further issues or have additional questions, feel free to reach out. We appreciate your feedback and are here to assist you!
https://github.com/user-attachments/assets/9aa4ba5a-ab95-401f-aaf0-1ee1e8071c93
Thanks for the reply, this solved the big problem I encountered, PR is just a try, x-any is a good project, AI will make it more brilliant
A small suggested rectangle with a smaller index in shapes and covered will not automatically highlight the starting rectangle. There are two ways to solve this problem. 1. Use the shortcut S to hide the upper rectangle. 2. Arrange the rectangles in descending order of area, so that each rectangle can trigger automatic highlighting.
How can I turn label name off. Label name is larger than I annotated.
How can I turn label name off. Label name is larger than I annotated.
@Yung-Chih-Lo Hi! It's very easy to turn off label names in X‑AnyLabeling — simply press Ctrl+L.
For more details, please refer to the user guide.
When labeling small objects, how can I reduce the width of the annotation box? This prevents the object from becoming obscured.
When labeling small objects, how can I reduce the width of the annotation box? This prevents the object from becoming obscured.
https://github.com/CVHub520/X-AnyLabeling/blob/64807d07231393e77b557e7ecbb93ec3a304346e/anylabeling/configs/xanylabeling_config.yaml#L39-L49