Skip to content
Snippets Groups Projects

Add constraints on shape of text-lines

Merged Solene Tarride requested to merge add-constraints-text-lines into main
All threads resolved!
Files
4
@@ -129,6 +129,12 @@ def add_predict_parser(subcommands) -> None:
help="Whether to output objects when plotting attention maps.",
required=False,
)
parser.add_argument(
"--max-object-height",
help="Maximum height for predicted objects. If set, grid search segmentation will be applied and width will be normalized to element width.",
type=int,
default=None,
)
parser.add_argument(
"--threshold-method",
help="Thresholding method.",
Loading