Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Change hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
tzutalin committed Jan 9, 2017
1 parent d6b3ec8 commit d9ba7b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ You can edit the [data/predefined_classes.txt](https://github.com/tzutalin/label

* Ctrl + r : Change the defult target dir which saving annotation files

* Ctrl + n : Create a bounding box

* Ctrl + s : Save

* n : Next image
* w : Create a bounding box

* d : Next image

* p : Previous image
* a : Previous image

### How to contribute
Send a pull request
Expand Down
6 changes: 3 additions & 3 deletions labelImg.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ def __init__(self, filename=None):
'Ctrl+q', 'openAnnotation', u'Open Annotation')

openNextImg = action('&Next Image', self.openNextImg,
'n', 'next', u'Open Next')
'd', 'next', u'Open Next')

openPrevImg = action('&Prev Image', self.openPrevImg,
'p', 'prev', u'Open Prev')
'a', 'prev', u'Open Prev')

save = action('&Save', self.saveFile,
'Ctrl+S', 'save', u'Save labels to file', enabled=False)
Expand All @@ -182,7 +182,7 @@ def __init__(self, filename=None):
'Ctrl+J', 'edit', u'Move and edit Boxs', enabled=False)

create = action('Create\nRectBox', self.createShape,
'Ctrl+N', 'new', u'Draw a new Box', enabled=False)
'w', 'new', u'Draw a new Box', enabled=False)
delete = action('Delete\nRectBox', self.deleteSelectedShape,
'Delete', 'delete', u'Delete', enabled=False)
copy = action('&Duplicate\nRectBox', self.copySelectedShape,
Expand Down

0 comments on commit d9ba7b1

Please sign in to comment.