Open mbuet2ner opened 1 year ago
Thank you for your idea!
Something that you can check now - read-only regions: https://labelstud.io/guide/predictions.html#Read-only-and-hidden-regions read-only doesn't allow to modify bboxes at all, but maybe it will work for you too.
Is your feature request related to a problem? Please describe. TLDR: Lock bounding boxes to better support token classification with a new
editable
option. Only a very small feature in code that would result in a substantial improvement for the process!Token classification (for documents) has gained considerable traction over the last years. Recent models such as the LayoutLM family by Microsoft push the boundaries of what is possible. For Label Studio the workflow is as follows:
Problem: Using the custom template based on the provided OCR template the user can assign each bounding box to a class. But he/she can also edit the shape of the bounding box itself. For the task of token classification, this is unwanted behavior. Only the class needs to be changed.
Describe the solution you'd like Similar to the
text area
it would be great to have aeditable
option for the polygon/ bounding box to lock it.Describe alternatives you've considered An alternative would be to tell the labeling personnel not to move the bounding boxes or to realign them via post-processing. Both solutions are not feasible because firstly, mistakes such as accidentally moving the polygons will happen eventually (and might cause confusion) and second, re-creating the original polygon positions is hard to achieve especially for edge cases.