-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added hotkeys to change labels #3070
Conversation
Hi @dvkruchinin
|
cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/label-item.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/labels-list.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/standard-workspace/objects-side-bar/labels-list.tsx
Outdated
Show resolved
Hide resolved
Hi @bsekachev
A test will be prepared. |
@bsekachev hello! I am using the following version: [develop] Some client code refactoring ( #3077 ) |
Hi @nstolyarov Just tried it again and it worked for me: I use the same commit. Could you please provide more details? |
Hi @bsekachev , I've found the reason of this. It happens if I have |
Got it, thanks. It will be fixed. |
Fixed by #3084 |
Hi @bsekachev, My Cvat is not show hotkeys in tab labels, How to added hotheys to change labels? I tried downloaded your code and replace folder cvat on my pc but it still doesn't show up, I'm not developer so I don't know what to do. I am sorry to trouble you. Thank u so much. |
Hi @baroly2020 First of all update the code:
or redownload .zip, extract and replace all the files if you do not use git. Then rebuild the images and restart the containers. By default this command would be: |
Is it possible to use this hotkey feature in Attribute annotation mode? Or some sort of fast label-change in the mentioned mode, except for up and down arrows (i.e. if the list of classes is too long they are not very useful)? Also, is it possible to quickly delete annotation from attribute annotation mode (by pressing delete for example)? |
Motivation and context
Resolved #2990
Resolved #2317
From design
Task: Hotkeys for labels.
Solution: Add key selector button to labels panel in the left sidebar. Clicking on the button will open popover with number selection for 0-9. Unpresented labels will be covered with opacity. [Num key + some modifier key] handler will be added to the standard workspace.
I suppose it should change a label of activated object or change a label to create the next object if no any objects activated
HOW TO USE?
Activate (or deactivate if need to change default label) object and press Ctrl+Num (0...9)
Default binding can be changed like shown on the screenshot below
How has this been tested?
Manual testing
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.