universal-data-tool icon indicating copy to clipboard operation
universal-data-tool copied to clipboard

[Feature] Preserve tool selection between Samples

Open jeremydouglass opened this issue 4 years ago • 0 comments

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:

  • open sample
  • select "bounding box" (b)
  • draw box 1, select next sample (d)
  • select "bounding box" (b) again
  • draw box 2 , select next sample (d)
  • select "bounding box" (b) again
  • draw box 3 , select next sample (d)
  • select "bounding box" (b) AGAIN ...

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

With proposed solution:

  • open sample
  • select "bounding box" (b)
  • draw box 1, select next sample (d)
  • draw box 2, select next sample (d)
  • draw box 3, select next sample (d) ...

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:

  • open sample
  • select "bounding box" (b)
  • click "hide tags"
  • draw box 1, draw box 2, select next sample (d)
  • select "bounding box" (b)
  • click "hide tags"
  • draw box 3, draw box 4, select next sample (d) again
  • select "bounding box" (b)
  • click "hide tags"
  • draw box 5, draw box 6, select next sample (d) AGAIN ...

With proposed solution:

  • open sample
  • select "bounding box" (b)
  • click "hide tags"
  • draw box 1, draw box 2, select next sample (d)
  • draw box 3, draw box 4, select next sample (d)
  • draw box 5, draw box 6, select next sample (d) ...

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.

jeremydouglass avatar Sep 07 '21 18:09 jeremydouglass