A brand-new OBB annotation mode
https://github.com/user-attachments/assets/88bafa9d-48de-411f-a9ea-a7fac58bed04
Dear Developer,
Hello! Recently, I have been working on annotating rotated and tilted data. The existing annotation mode was not very convenient, so today I developed a new annotation mode using Claude 4.5.
With this, both the original annotation mode and the new annotation mode can coexist, and users may choose whichever they need. The operation of the new mode is shown in the attached image.
All the modifications and code have been included in the attachment, along with a summary document — all written with Claude 4.5.
Please review them and see if this new mode can be integrated.
https://github.com/user-attachments/assets/d097654f-24f4-4b09-9a35-bffb86b884a8
The crosshair has been enhanced to accommodate the new annotation mode.
A new independent mouse style has been set for the new labeling mode, which can be customized.
https://github.com/user-attachments/assets/7740c96e-439c-4fbe-a1c2-df95f4c6fa42
Since rotation is possible, displaying the angle in real-time is also feasible. With the addition of real-time angle display, this feature can be considered fully developed, and there's nothing more to add.
I want to apologize to you here. I can only request you to add the feature in this way. I can't submit a PR because this feature has been requested by other users before, and I happen to need it as well. I just tried using the latest CLAUDE 4.5 to draw cards, and I was able to get it.
Hi there! @lhj5426
Thanks so much for your contribution to X-AnyLabeling! We really appreciate you taking the time to share this.
I've had a chance to try out the rotation3 mode you implemented, and I found it a bit tricky to use in practice. Specifically, I'm wondering how we're supposed to determine the placement of the very first point. Could you perhaps clarify the intended workflow for defining that initial point?
Looking forward to your thoughts!
Hi there! @lhj5426
Thanks so much for your contribution to X-AnyLabeling! We really appreciate you taking the time to share this.
I've had a chance to try out the
rotation3mode you implemented, 和 I found it a bit tricky to use in practice. Specifically, I'm wondering how we're supposed to determine the placement of the very first point. Could you perhaps clarify the intended workflow for defining that initial point?Looking forward to your thoughts!
https://github.com/user-attachments/assets/ab8a2e23-6d16-4ae6-8f21-d6d4bb8720bf
I have also considered this issue, so I set a separate mouse style for this mode. As you can see in the video, this way we can determine where the first point is.
The mouse pointer file I used is also included in the attachment. When I recorded earlier, I didn't enable the mouse recording function, so you may not have noticed this mode, which has an independent mouse style used for locating a point.
The mouse style can be customized; users can choose whatever type of mouse they prefer. This allows for more freedom.
Thanks for your latest demo video!
As my previous concern, it can indeed be quite difficult to accurately determine the initial 'anchor' or starting click position, especially when objects have a significant degree of rotation. In such scenarios, precisely identifying that first effective click can be genuinely tricky.
To help us better understand your proposed workflow or solution, could you illustrate how you envision labeling an object – for instance, a horse – using the rotation3 mode in a heavily rotated context? Your insights on this would be really valuable!
my feature is a replica of two other tools on Bilibili, as demonstrated in the video link.
https://www.bilibili.com/video/BV1FJKezFEDc?t=182.2
https://www.bilibili.com/video/BV1AbsSeeEUi?t=52.7
Requirements extracted by another user.
https://github.com/CVHub520/X-AnyLabeling/issues/1109
This is a newly added annotation mode, which doesn't replace the previous nail frame and rotation method. Instead, it allows for the optimal annotation approach to be used for different shapes of targets.
https://github.com/user-attachments/assets/92feeaa2-4507-46ff-9f1a-b1d4e2b29175
Thank you for sharing those insightful videos and clarifying the inspiration behind your rotation3 mode, @lhj5426!
After reviewing your latest demonstrations, it seems that even with the dedicated mouse style, determining the precise initial 'anchor' point remains quite challenging, especially for complex or highly rotated objects like the horse we discussed earlier. From what I've observed, this method, while introducing a new way to define the box, might still require significant manual adjustments for alignment after the initial placement, meaning it doesn't quite achieve a 'one-shot' precise annotation from the very beginning.
Our goal is to ensure that new annotation modes significantly streamline the process and minimize post-drawing adjustments. Your dedication to exploring these enhancements is truly appreciated! Let's continue to explore how we can make OBB annotation as intuitive and efficient as possible.
Haha, it's alright! I happened to see someone needing this function a few weeks ago, and I'm currently working on the data for rotating text, which requires this feature. Plus, I wanted to catch up with the release of CLAUDE 4.5. Previously, I was using 4.0 to calculate angles, but I couldn't manage to get it right. By chance, I developed this feature. I've already added it to my copied branch and have been using it for two days, and I'm quite satisfied with the results. I had seen this function with other creators on Bilibili before, but I didn't like their logic of drawing a second line from the midpoint of a line, so I never used it. Recently, I just learned how to modify projects with AI, and I decided to adjust it according to my own usage habits by starting the second line from the end of the arrow. I apologize if it doesn't meet general usage standards, but the inspiration came from those two videos.
Moreover, my branch has become a complete mess because I added more than 30 features that I frequently use, which are not suitable for the general public, so I didn't ask about it. I wanted to bring this up because someone mentioned it before. All of these are focused on refining details to enhance user experience and improve labeling efficiency.
https://github.com/lhj5426/X-AnyLabeling
你好 请问下你是用哪个模型做的功能,另对模型是直接口述需求或是用一些提示词模板了,感谢
你好 请问下你是用哪个模型做的功能,另对模型是直接口述需求或是用一些提示词模板了,感谢
claude4.5 Gemini2.5pro cli和人聊天一样直接说需求,我没用模板 也不会用,就是截图+聊天一次次对话最终成型
claude code claude4.5 Gemini2.5pro 这个三个组件吗 另外 老哥 你的github中的演示视频 看不了 能否传一份 百度网盘 或 b站 再次感谢
claude code claude4.5 Gemini2.5pro 这个三个组件吗 另外 老哥 你的github中的演示视频 看不了 能否传一份 百度网盘 或 b站 再次感谢
Gemini cli b站搜可以白嫖 有安装说明 cc我是在l站买的fox家的 也买过b站 烟神殿的 最近在买另外一个3万4体验积分的账号
Has this feature been officially released?
Has this feature been officially released?
The official version doesn’t seem to have this.
In my personal-use branch, it has already been implemented.
If you’re interested, you can click on my avatar to check it out.
I think @lhj5426 's mode of drawing rectangles like this would save us a TON of time trying to draw rectangles around our insects. I really wish we had this option. drawing horizontal rectangles has the same problem you mention: "how do determine the initial placement of the first click" but it is then wayyy slower to rotate these generally incorrect boxes. Whereas i could easily draw a line along side an object and then another line for its width (and adjust later if needed).
What would be even better is to draw a line down the MIDDLE of an object, and then draw a line expanding its width in both ways