Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
b1d31f8a
Commit
b1d31f8a
authored
Jul 06, 2021
by
SLLH
Browse files
update Shortcut Keys
parent
9fb447c4
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8693 additions
and
8686 deletions
+8693
-8686
PPOCRLabel/libs/resources.py
PPOCRLabel/libs/resources.py
+8682
-8682
PPOCRLabel/libs/utils.py
PPOCRLabel/libs/utils.py
+10
-3
PPOCRLabel/resources/strings/strings.properties
PPOCRLabel/resources/strings/strings.properties
+1
-1
No files found.
PPOCRLabel/libs/resources.py
View file @
b1d31f8a
This diff is collapsed.
Click to expand it.
PPOCRLabel/libs/utils.py
View file @
b1d31f8a
...
@@ -195,6 +195,7 @@ def stepsInfo(lang='en'):
...
@@ -195,6 +195,7 @@ def stepsInfo(lang='en'):
def
keysInfo
(
lang
=
'en'
):
def
keysInfo
(
lang
=
'en'
):
if
lang
==
'ch'
:
if
lang
==
'ch'
:
msg
=
"快捷键
\t\t\t
说明
\n
"
\
msg
=
"快捷键
\t\t\t
说明
\n
"
\
"———————————————————————
\n
"
\
"Ctrl + shift + R
\t\t
对当前图片的所有标记重新识别
\n
"
\
"Ctrl + shift + R
\t\t
对当前图片的所有标记重新识别
\n
"
\
"W
\t\t\t
新建矩形框
\n
"
\
"W
\t\t\t
新建矩形框
\n
"
\
"Q
\t\t\t
新建四点框
\n
"
\
"Q
\t\t\t
新建四点框
\n
"
\
...
@@ -209,10 +210,13 @@ def keysInfo(lang='en'):
...
@@ -209,10 +210,13 @@ def keysInfo(lang='en'):
"A
\t\t\t
上一张图片
\n
"
\
"A
\t\t\t
上一张图片
\n
"
\
"Ctrl++
\t\t\t
缩小
\n
"
\
"Ctrl++
\t\t\t
缩小
\n
"
\
"Ctrl--
\t\t\t
放大
\n
"
\
"Ctrl--
\t\t\t
放大
\n
"
\
"↑→↓←
\t\t\t
移动标记框"
\
"↑→↓←
\t\t\t
移动标记框
\n
"
\
"———————————————————————
\n
"
\
"注:Mac用户Command键替换上述Ctrl键"
else
:
else
:
msg
=
"Shortcut keys
\t\t
Description
\n
"
\
msg
=
"Shortcut Keys
\t\t
Description
\n
"
\
"———————————————————————
\n
"
\
"Ctrl + shift + R
\t\t
Re-recognize all the labels
\n
"
\
"Ctrl + shift + R
\t\t
Re-recognize all the labels
\n
"
\
"
\t\t\t
of the current image
\n
"
\
"
\t\t\t
of the current image
\n
"
\
"
\n
"
\
"
\n
"
\
...
@@ -233,5 +237,8 @@ def keysInfo(lang='en'):
...
@@ -233,5 +237,8 @@ def keysInfo(lang='en'):
"A
\t\t\t
Previous image
\n
"
\
"A
\t\t\t
Previous image
\n
"
\
"Ctrl++
\t\t\t
Zoom in
\n
"
\
"Ctrl++
\t\t\t
Zoom in
\n
"
\
"Ctrl--
\t\t\t
Zoom out
\n
"
\
"Ctrl--
\t\t\t
Zoom out
\n
"
\
"↑→↓←
\t\t\t
Move selected box"
"↑→↓←
\t\t\t
Move selected box"
\
"———————————————————————
\n
"
\
"Notice:For Mac users, use the 'Command' key instead of the 'Ctrl' key"
return
msg
return
msg
\ No newline at end of file
PPOCRLabel/resources/strings/strings.properties
View file @
b1d31f8a
...
@@ -89,7 +89,7 @@ saveRec=Save Recognition Result
...
@@ -89,7 +89,7 @@ saveRec=Save Recognition Result
tempLabel
=
TEMPORARY
tempLabel
=
TEMPORARY
nullLabel
=
NULL
nullLabel
=
NULL
steps
=
Steps
steps
=
Steps
keys
=
Shortcut
k
eys
keys
=
Shortcut
K
eys
choseModelLg
=
Choose Model Language
choseModelLg
=
Choose Model Language
cancel
=
Cancel
cancel
=
Cancel
ok
=
OK
ok
=
OK
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment