From aed73672f6344fb793060c1cf730c98db0a0a180 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Wed, 19 Jan 2022 10:36:57 +0800 Subject: [PATCH] Improve user efficiency: Using [Ctrl+T] to delect the box --- PPOCRLabel/PPOCRLabel.py | 2 +- PPOCRLabel/README.md | 4 ++-- PPOCRLabel/README_ch.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index c6d38e21..e3ecc1af 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, - 'backspace', 'delete', getStr('delBoxDetail'), enabled=False) + 'Ctrl+T', '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 e8634ef8..04f0d194 100644 --- a/PPOCRLabel/README.md +++ b/PPOCRLabel/README.md @@ -143,7 +143,7 @@ python PPOCRLabel.py ### 3.1 Shortcut keys | Shortcut keys | Description | -| ------------------------ | ------------------------------------------------ | +|--------------------------| ------------------------------------------------ | | Ctrl + Shift + R | Re-recognize all the labels of the current image | | W | Create a rect box | | Q | Create a four-points box | @@ -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 | -| Backspace | Delete the selected box | +| Ctrl+T | 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 e1c391bc..7e77bdb9 100644 --- a/PPOCRLabel/README_ch.md +++ b/PPOCRLabel/README_ch.md @@ -139,8 +139,8 @@ python PPOCRLabel.py --lang ch | Ctrl + E | 编辑所选框标签 | | Ctrl + R | 重新识别所选标记 | | Ctrl + C | 复制并粘贴选中的标记框 | -| Ctrl + 鼠标左键 | 多选标记框 | -| Backspace | 删除所选框 | +| Ctrl + 鼠标左键 | 多选标记框 | +| Ctrl+T | 删除所选框 | | Ctrl + V | 确认本张图片标记 | | Ctrl + Shift + d | 删除本张图片 | | D | 下一张图片 | -- GitLab