From fb8fadcda720175f2beb5137d12f311259be31e7 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Wed, 19 Jan 2022 17:35:53 +0800 Subject: [PATCH] Optimize short cut: Using [Alt+X] to delect the box --- PPOCRLabel/PPOCRLabel.py | 2 +- PPOCRLabel/README.md | 2 +- PPOCRLabel/README_ch.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index 80a2c82b..3ee5eb60 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -397,7 +397,7 @@ class MainWindow(QMainWindow, WindowMixin): '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'), diff --git a/PPOCRLabel/README.md b/PPOCRLabel/README.md index 04f0d194..10bfa469 100644 --- a/PPOCRLabel/README.md +++ b/PPOCRLabel/README.md @@ -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 | diff --git a/PPOCRLabel/README_ch.md b/PPOCRLabel/README_ch.md index 7e77bdb9..03e1b2da 100644 --- a/PPOCRLabel/README_ch.md +++ b/PPOCRLabel/README_ch.md @@ -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 | 下一张图片 | -- GitLab