imagemonkey-core icon indicating copy to clipboard operation
imagemonkey-core copied to clipboard

annotation mode hotkey suggestions

Open dobkeratops opened this issue 7 years ago • 1 comments

just a few thoughts after using the tool for a bit on a desktop with a mouse (instead of casually with a laptop) .. it works well, just leaves me with an itch for more hotkeys ..

  • space or M : select/move tool

  • backspace: delete selection. if not in selection mode, perhaps ask "delete last polygon?", or even just delete the last point immediately.. you'd only lose one point if you press it accidentally, then you learn you can hit backspace many times to remove more.. that might be a nice way to correct small mistakes without needing a whole undo system. (Currently a mistake takes 5 clicks to fix, although the seperation of draw vs select/move is still a big win overall)

  • arrow-keys : pan the image (I note +,- are already zoom)

  • might be an idea to allow '=' as zoom aswell, i.e. you could press the =/+ key without shift)

  • p:- polygon tool, or close current polygon you're in polygon mode and drawing is in progress (e.g. allows drawing unaligned quads as 4 clicks then press 'p';

alternatively a dedicated hotkey to close the current polygon.. not sure what though

  • esc - cancel current polygon if one is in progress (lose the points). I think this would be ok without confirmation because it's over in the corner. quick way to lose a mistake

  • 's' - subdivide if a polygon is selected (in select/move mode) - find the longest edge, and divide it in 2.. hit repeatedly until you have enough points. more advanced: if a point is selected, subdivide the edges around it?

  • enter or ? - [low priority.. more advanced change, more thought needed..] change label on the current image .. I think you have a dialog to choose a label for annotation? maybe it would work to spawn that. Perhaps this key could just toggle between 'add labels' and 'annotate' whilst keeping the same image. it would implicitly complete the current batch of annotations (i think you have some sort of versioning concept?) .. the ideal though would be to keep track of all the polygons added per label (allowing you to switch between them) and accumulate in batch but I know that would be a bigger upheaval to the code-base. this might also require changing the highlighted annotations and draw the annotations of each label you've selected in that session greyed out/feint

  • modifier + esc 'skip' (perhaps taking you back to the browser view if thats how you got there?)

  • modifier + enter 'done'

(modifier.. not sure which one makes most sense - ctrl or shift or alt)

  • [,] .. [as above..] change label by toggling next/previous label form the current image label list

dobkeratops avatar Sep 03 '18 08:09 dobkeratops

Awesome, many thanks for sharing!

I am currently working on this #194 here, so that's the perfect timing! :) I'll try to add as much as possible from the list..I think there are a lot of low hanging fruits. Thanks for list!

bbernhard avatar Sep 04 '18 15:09 bbernhard