X-AnyLabeling icon indicating copy to clipboard operation
X-AnyLabeling copied to clipboard

May I ask if this kind of feature can be introduced into the software's interaction?

Open lhj5426 opened this issue 1 year ago • 7 comments

https://github.com/user-attachments/assets/55708e5c-d598-4c21-aff3-5f3de7e4577a

https://github.com/user-attachments/assets/194da6b3-2ded-4016-9318-739a1518320d

Dear Developer, As shown in the video, this is a very user-friendly interaction feature.

When a rectangle is selected, simply moving the mouse to any of its four sides allows for quick and convenient boundary adjustments. Moreover, when the rectangle is selected and the mouse is within its area, scrolling the mouse wheel adjusts the overall size of the rectangle.

Compared to the current method, which requires precisely selecting one of the four corner points to adjust the shape, this interaction method—where precise clicking of the corners is not needed to resize the rectangle—significantly improves efficiency.

Could this kind of feature be introduced into the software's interactive design?

Could you kindly consider the possibility of this type of interaction?

lhj5426 avatar Jun 14 '25 09:06 lhj5426

Hey there! @lhj5426,

Thank you for your valuable suggestion! I'm happy to inform you that this feature has now been implemented and is available in the latest commit.

The mouse wheel editing functionality for rectangles has been added, though it's disabled by default for compatibility reasons. To use this feature, you'll need to enable it in the configuration file by setting wheel_rectangle_editing and you can adjust the scaling parameters according to your needs. For detailed instructions, please refer to section 2.2 of the user_manual docs.

Thanks again for your feedback - it helps make the software more user-friendly! Let me know if you have any questions about using this new feature.

CVHub520 avatar Jun 14 '25 14:06 CVHub520

https://github.com/user-attachments/assets/a0a94dcf-47ef-4303-bac3-71aed0cf1efc

Thank you very much for your response. The speed was incredibly fast! I'm truly grateful that you've added this interaction, which can significantly improve efficiency. Now, when annotating, there's no need to focus so precisely on the four points to make adjustments. Really, thank you so, so much!!!!!!!

lhj5426 avatar Jun 15 '25 05:06 lhj5426

为什么我在用户配置文件中搜不到 wheel_rectangle_editing 这个字段?

ljh725 avatar Jun 17 '25 11:06 ljh725

为什么我在用户配置文件中搜不到 wheel_rectangle_editing 这个字段?

把旧的配置改名 然后重新自动生成一个新的配置 或者 手动在 旧版的配置里添加 wheel_rectangle_editing: adjust_step: 0.5 enable: true scale_step: 0.02

Image 手动添加这4个字段 数值 根据自己实际情况修改 这个数值是我现在用的

lhj5426 avatar Jun 17 '25 14:06 lhj5426

(x-anylabeling-3) PS D:\x-anylabeling-3.0.0> python anylabeling/app.py 2025-06-18 08:48:36,089 | INFO | app:main:165 - 🚀 X-AnyLabeling v3.0.0 launched! 2025-06-18 08:48:36,089 | INFO | app:main:168 - ⭐ If you like it, give us a star: https://github.com/CVHub520/X-AnyLabeling 2025-06-18 08:48:36,121 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 2025-06-18 08:48:36,121 | INFO | config:get_config:83 - 🔧️ Initializing config from local file: C:\Users\20441.xanylabelingrc 2025-06-18 08:48:36,618 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 2025-06-18 08:48:36,649 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 我按照你的截图添加字段后 启动直接报错 并且 在配置文件中会自动删除这些字段

ljh725 avatar Jun 18 '25 00:06 ljh725

(x-anylabeling-3) PS D:\x-anylabeling-3.0.0> python anylabeling/app.py 2025-06-18 08:48:36,089 | INFO | app:main:165 - 🚀 X-AnyLabeling v3.0.0 launched! 2025-06-18 08:48:36,089 | INFO | app:main:168 - ⭐ If you like it, give us a star: https://github.com/CVHub520/X-AnyLabeling* 2025-06-18 08:48:36,121 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 2025-06-18 08:48:36,121 | INFO | config:get_config:83 - 🔧️ Initializing config from local file: C:\Users\20441.xanylabelingrc 2025-06-18 08:48:36,618 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 2025-06-18 08:48:36,649 | WARNING | config:update_dict:18 - Skipping unexpected key in config: wheel_rectangle_editing 我按照你的截图添加字段后 启动直接报错 并且 在配置文件中会自动删除这些字段

Image

lhj5426 avatar Jun 18 '25 01:06 lhj5426

谢谢回复,能够使用这个功能了

ljh725 avatar Jun 18 '25 06:06 ljh725