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
!306
Only support thresholding method `otsu`
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Only support thresholding method `otsu`
remove-threshold-parameters
into
main
Overview
0
Commits
1
Pipelines
0
Changes
5
Merged
Manon Blanco
requested to merge
remove-threshold-parameters
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
5
Expand
Closes
#211 (closed)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
de0eb743
1 commit,
1 year ago
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