HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
17.59k stars 2.19k forks source link

Enhanced Crosshair Cursor for Labelling #5935

Open JLZ22 opened 1 month ago

JLZ22 commented 1 month ago

Problem I have been using the tool, and it is great. However, I always find myself making boxes and then re-adjusting them because I cant quite tell where an object starts and ends on the x and y axises if the object is slanted or irregularly shaped.

Suggestion for Solution I think a really useful solution to this problem is to draw an image-wide crosshair on the mouse at all times. This way, you will know if the corners of your bounding box are exactly right or not. I think this would improve efficiency in labeling because a lot of labels won't need to be readjusted.

Additional context The vision is to have something like what is shown in the last post of this thread. https://stackoverflow.com/questions/37542669/enhanced-crosshair-cursor-possible

image
sajarin commented 1 month ago

Thanks for the feature request @JLZ22, our team will review and see how it fits into our current roadmap!

How big of a pain would you say this is for you at the moment?

JLZ22 commented 1 month ago

I would say it slows down the labeling process by 1.75x to 2.5x. When labeling, I initially give each object a bounding box. Then, I zoom in to fix any errors that I made when eyeballing it to ensure that the boxes are as tight as possible. Since I need to pan and zoom in to almost every object in an image object, labelling is a lot slower than it could be with this proposed feature. Thank you for your quick response. I hope this helps. Best of luck!

On Fri, May 31, 2024 at 7:44 PM Sajarin @.***> wrote:

Thanks for the feature request @JLZ22 https://github.com/JLZ22, our team will review and see how it fits into our current roadmap!

How big of a pain would you say this is for you at the moment?

— Reply to this email directly, view it on GitHub https://github.com/HumanSignal/label-studio/issues/5935#issuecomment-2142628825, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPMTVIZYO4JBPE7NDKGOPLZFCSFHAVCNFSM6AAAAABISXWWCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSGYZDQOBSGU . You are receiving this because you were mentioned.Message ID: @.***>

NickSwardh commented 1 month ago

The crosshair exist but you have to enable it manually in your labeling interface. https://labelstud.io/tags/image. Look for the crosshair parameter.

Basically you just add the crosshair property to your labeling interface. Click on Settings -> Labeling interface -> Code and then add the property to your <image> tag.

Ex: <Image name="image" value="$image" crosshair="true"/>

JLZ22 commented 1 month ago

Thanks for letting me know. This works perfectly!

On Mon, Jun 10, 2024 at 8:12 AM Niklas Swärd @.***> wrote:

The crosshair exist but you have to enable it manually. https://labelstud.io/tags/image.

— Reply to this email directly, view it on GitHub https://github.com/HumanSignal/label-studio/issues/5935#issuecomment-2158626598, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPMTVKKSL2K2GLLNPZ34T3ZGW66DAVCNFSM6AAAAABISXWWCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGYZDMNJZHA . You are receiving this because you were mentioned.Message ID: @.***>