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
gaoqiong
RapidOCR
Commits
3fc200ad
Commit
3fc200ad
authored
Oct 18, 2022
by
benjaminwan
Browse files
修改help默认值
parent
6b68bb05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/main.h
include/main.h
+2
-2
valgrind-memcheck.sh
valgrind-memcheck.sh
+1
-1
No files found.
include/main.h
View file @
3fc200ad
...
@@ -37,11 +37,11 @@ const char *requiredMsg = "-d --models: models directory.\n" \
...
@@ -37,11 +37,11 @@ const char *requiredMsg = "-d --models: models directory.\n" \
"-i --image: path of target image.
\n\n
"
;
"-i --image: path of target image.
\n\n
"
;
const
char
*
optionalMsg
=
"-t --numThread: value of numThread(int), default: 4
\n
"
\
const
char
*
optionalMsg
=
"-t --numThread: value of numThread(int), default: 4
\n
"
\
"-p --padding: value of padding(int), default: 0
\n
"
\
"-p --padding: value of padding(int), default:
5
0
\n
"
\
"-s --maxSideLen: Long side of picture for resize(int), default: 1024
\n
"
\
"-s --maxSideLen: Long side of picture for resize(int), default: 1024
\n
"
\
"-b --boxScoreThresh: value of boxScoreThresh(float), default: 0.5
\n
"
\
"-b --boxScoreThresh: value of boxScoreThresh(float), default: 0.5
\n
"
\
"-o --boxThresh: value of boxThresh(float), default: 0.3
\n
"
\
"-o --boxThresh: value of boxThresh(float), default: 0.3
\n
"
\
"-u --unClipRatio: value of unClipRatio(float), default:
2.0
\n
"
\
"-u --unClipRatio: value of unClipRatio(float), default:
1.6
\n
"
\
"-a --doAngle: Enable(1)/Disable(0) Angle Net, default: Enable
\n
"
\
"-a --doAngle: Enable(1)/Disable(0) Angle Net, default: Enable
\n
"
\
"-A --mostAngle: Enable(1)/Disable(0) Most Possible AngleIndex, default: Enable
\n\n
"
;
"-A --mostAngle: Enable(1)/Disable(0) Most Possible AngleIndex, default: Enable
\n\n
"
;
...
...
valgrind-memcheck.sh
View file @
3fc200ad
...
@@ -34,6 +34,6 @@ valgrind --tool=memcheck --leak-check=full --leak-resolution=med --track-origins
...
@@ -34,6 +34,6 @@ valgrind --tool=memcheck --leak-check=full --leak-resolution=med --track-origins
--maxSideLen
1024
\
--maxSideLen
1024
\
--boxScoreThresh
0.5
\
--boxScoreThresh
0.5
\
--boxThresh
0.3
\
--boxThresh
0.3
\
--unClipRatio
1.
5
\
--unClipRatio
1.
6
\
--doAngle
1
\
--doAngle
1
\
--mostAngle
1
--mostAngle
1
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