Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Data Generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
Data Generator
Commits
d00a1caa
Commit
d00a1caa
authored
1 year ago
by
Yoann Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Document image.fixed_height
parent
b0ebae12
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!84
Document image.fixed_height
Pipeline
#163813
passed
11 months ago
Stage: release
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
atr_data_generator/extract/arguments.py
+1
-0
1 addition, 0 deletions
atr_data_generator/extract/arguments.py
with
1 addition
and
0 deletions
atr_data_generator/extract/arguments.py
+
1
−
0
View file @
d00a1caa
...
...
@@ -93,6 +93,7 @@ class ImageArgs(BaseArgs):
creating skewed text lines for a more robust model. Only used with skew_* extraction modes.
should_rotate (bool): Use text line rotation class to rotate lines if possible
grayscale (bool): Convert images to grayscale (By default grayscale)
fixed_height (int): Resize images to a fixed height.
"""
scale
:
Union
[
ScaleArgs
,
Dict
[
str
,
str
]]
=
field
(
default_factory
=
dict
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment