Keyboard shortcuts for assigning flags #1062
Replies: 5 comments 2 replies
-
You can edit labelme/labelme/config/default_config.yaml Lines 71 to 106 in f8097a4 |
Beta Was this translation helpful? Give feedback.
-
that's amazing to know, I had a look at the docs/tried hitting some keys but did not try 'ctrl+key' combinations |
Beta Was this translation helpful? Give feedback.
-
I've been reading the source code to try and add a shortcut to quickly assign flags, but I'm having some trouble If I understood it correctly, I have to add the shortcut names to and key combinations to the
Then, in app.py, I have to create the action(s), which I have initially written as:
And in app.py as well, I define the assignFlag function, |
Beta Was this translation helpful? Give feedback.
-
Having the same issue |
Beta Was this translation helpful? Give feedback.
-
I've tried to implement the shortcut for assigning flag, you can look at my commits below : I wonder why I can't use numeric keys for the shortcut key so I changed the config file to use alphabetical keys and it works. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I'd like to be able to create shortcuts to quickly start a polygon tool or assign a flag to the image, and to advance to the next image or to go back to the previous image.
Describe the solution you'd like
Either pre-defined or user-definable keyboard shortcuts for labelme functions
Beta Was this translation helpful? Give feedback.
All reactions