Skip to content

Commit

Permalink
Optimize short cut: Using [Alt+X] to delect the box
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterH0323 committed Jan 19, 2022
1 parent a32e7ce commit fb8fadc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion PPOCRLabel/PPOCRLabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def __init__(self, lang="ch", gpu=False, defaultFilename=None, defaultPrefdefCla
'w', 'objects', getStr('crtBoxDetail'), enabled=False)

delete = action(getStr('delBox'), self.deleteSelectedShape,
'Ctrl+T', 'delete', getStr('delBoxDetail'), enabled=False)
'Alt+X', 'delete', getStr('delBoxDetail'), enabled=False)

copy = action(getStr('dupBox'), self.copySelectedShape,
'Ctrl+C', 'copy', getStr('dupBoxDetail'),
Expand Down
2 changes: 1 addition & 1 deletion PPOCRLabel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ python PPOCRLabel.py
| Ctrl + R | Re-recognize the selected box |
| Ctrl + C | Copy and paste the selected box |
| Ctrl + Left Mouse Button | Multi select the label box |
| Ctrl+T | Delete the selected box |
| Ctrl + X | Delete the selected box |
| Ctrl + V | Check image |
| Ctrl + Shift + d | Delete image |
| D | Next image |
Expand Down
8 changes: 4 additions & 4 deletions PPOCRLabel/README_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ python PPOCRLabel.py --lang ch

### 3.1 快捷键

| 快捷键 | 说明 |
| ---------------- | ---------------------------- |
| 快捷键 | 说明 |
|------------------| ---------------------------- |
| Ctrl + shift + R | 对当前图片的所有标记重新识别 |
| W | 新建矩形框 |
| Q | 新建四点框 |
| Ctrl + E | 编辑所选框标签 |
| Ctrl + R | 重新识别所选标记 |
| Ctrl + C | 复制并粘贴选中的标记框 |
| Ctrl + 鼠标左键 | 多选标记框 |
| Ctrl+T | 删除所选框 |
| Ctrl + 鼠标左键 | 多选标记框 |
| Ctrl + X | 删除所选框 |
| Ctrl + V | 确认本张图片标记 |
| Ctrl + Shift + d | 删除本张图片 |
| D | 下一张图片 |
Expand Down

0 comments on commit fb8fadc

Please sign in to comment.