diff --git a/PPOCRLabel/libs/utils.py b/PPOCRLabel/libs/utils.py index cf627bc764bee8ebc9694b330ae6923df6f6c403..1e30192cce8ab96ab9590d55e818b4c39d2d4af3 100644 --- a/PPOCRLabel/libs/utils.py +++ b/PPOCRLabel/libs/utils.py @@ -188,52 +188,8 @@ def stepsInfo(lang='en'): "8. Click 'Save', the image status will switch to '√',then the program automatically jump to the next.\n"\ "9. Click 'Delete Image' and the image will be deleted to the recycle bin.\n"\ "10. Labeling result: After closing the application or switching the file path, the manually saved label will be stored in *Label.txt* under the opened picture folder.\n"\ - " Click PaddleOCR-Save Recognition Results in the menu bar, the recognition training data of such pictures will be saved in the *crop_img* folder, and the recognition label will be saved in *rec_gt.txt*.\n" \ - "11. Shortcut keys:\n" - return msg - -def keysInfo(lang='en'): - if lang == 'ch': - msg = "快捷键\t\t\t说明\n" \ - "Ctrl + shift + R\t\t对当前图片的所有标记重新识别\n" \ - "W\t\t\t新建矩形框\n" \ - "Q\t\t\t新建四点框\n" \ - "Ctrl + E\t\t编辑所选框标签\n" \ - "Ctrl + R\t\t重新识别所选标记\n" \ - "Ctrl + C\t\t复制并粘贴选中的标记框\n" \ - "Ctrl + 鼠标左键\t\t多选标记框\n" \ - "Backspace\t\t删除所选框\n" \ - "Ctrl + V\t\t确认本张图片标记\n" \ - "Ctrl + Shift + d\t删除本张图片\n" \ - "D\t\t\t下一张图片\n" \ - "A\t\t\t上一张图片\n" \ - "Ctrl++\t\t\t缩小\n" \ - "Ctrl--\t\t\t放大\n" \ - "↑→↓←\t\t\t移动标记框" \ + " Click PaddleOCR-Save Recognition Results in the menu bar, the recognition training data of such pictures will be saved in the *crop_img* folder, and the recognition label will be saved in *rec_gt.txt*.\n" - else: - msg = "Shortcut keys\t\tDescription\n" \ - "Ctrl + shift + R\t\tRe-recognize all the labels\n" \ - "\t\t\tof the current image\n" \ - "\n"\ - "W\t\t\tCreate a rect box\n" \ - "Q\t\t\tCreate a four-points box\n" \ - "Ctrl + E\t\tEdit label of the selected box\n" \ - "Ctrl + R\t\tRe-recognize the selected box\n" \ - "Ctrl + C\t\tCopy and paste the selected\n" \ - "\t\t\tbox\n" \ - "\n"\ - "Ctrl + Left Mouse\tMulti select the label\n" \ - "Button\t\t\tbox\n" \ - "\n"\ - "Backspace\t\tDelete the selected box\n" \ - "Ctrl + V\t\tCheck image\n" \ - "Ctrl + Shift + d\tDelete image\n" \ - "D\t\t\tNext image\n" \ - "A\t\t\tPrevious image\n" \ - "Ctrl++\t\t\tZoom in\n" \ - "Ctrl--\t\t\tZoom out\n" \ - "↑→↓←\t\t\tMove selected box" return msg def keysInfo(lang='en'):