UniversalDataTool / universal-data-tool

Collaborate & label any type of data, images, text, or documents, in an easy web interface or desktop app.
https://universaldatatool.com
MIT License
1.92k stars 187 forks source link

[Feature] Preserve tool selection between Samples #522

Open jeremydouglass opened 2 years ago

jeremydouglass commented 2 years ago

Problem:

Can't draw the same on multiple samples without repeated selection.

It takes redundant configuration to add a series of bounding boxes to samples (Image Segmentation). Each time the sample changes with next / previous the current tool state is deselected. Currently, on v0.14.15:

Instead: preserve current tool state when navigating between samples with next / previous:

With proposed solution:

Problem example 2:

The problem is even more frustrating whenever the tag popup dialog is in the way of multiple box drawing. For example, if segmenting an image into horizontal rectangles (slices / layers) the tag dialog popup is always in the way of the upper-left coordinate of the next bounding box, and must always be hidden before the second box may be drawn. (Example use case: marking the panels on a comic book page). The solution in the current interface is to click the "hide tags" icon. There is no hotkey / keyboard shortcut. However, this setting is cleared on every new sample, so it must be constantly re-applied. Currently:

With proposed solution:

Final thought:

It is possible that some flows would actually find it useful to clear the selected tool on each new sample (the current behavior). I would guess (?) that is the exception rather than the rule, but it could be that a setting "reset tool" or "reset tool to x" could preserve this behavior for anyone who prefers it.