Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!307
Document a predict command for development
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Document a predict command for development
predict-command-fo-dev
into
main
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Manon Blanco
requested to merge
predict-command-fo-dev
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
version 1
version 1
a51ba49d
1 year ago
main (base)
and
latest version
latest version
900e10a0
1 commit,
1 year ago
version 1
a51ba49d
1 commit,
1 year ago
Show latest version
5 files
+
10
−
82
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
dan/ocr/predict/__init__.py
+
0
−
13
Options
@@ -135,19 +135,6 @@ def add_predict_parser(subcommands) -> None:
type
=
int
,
default
=
None
,
)
parser
.
add_argument
(
"
--threshold-method
"
,
help
=
"
Thresholding method.
"
,
choices
=
[
"
otsu
"
,
"
simple
"
],
type
=
str
,
default
=
"
otsu
"
,
)
parser
.
add_argument
(
"
--threshold-value
"
,
help
=
"
Thresholding value.
"
,
type
=
int
,
default
=
0
,
)
parser
.
add_argument
(
"
--gpu-device
"
,
help
=
"
Use a specific GPU if available.
"
,
Loading