@ -49,38 +49,38 @@ from sbb_newspapers_org_image.eynollah import eynollah
type=click.Path(exists=True,file_okay=False),
type=click.Path(exists=True,file_okay=False),
)
)
@click.option(
@click.option(
"--enable_plotting",
"--enable-plotting/--disable-plotting",
"-ep",
"-ep/-noep",
is_flag=True,
is_flag=True,
help="If set, will plot intermediary files and images",
help="If set, will plot intermediary files and images",
)
)
@click.option(
@click.option(
"--allow_enhancement",
"--allow-enhancement/--no-allow-enhancement",
"-ae",
"-ae/-noae",
is_flag=True,
is_flag=True,
help="if this parameter set to true, this tool would check that input image need resizing and enhancement or not. If so output of resized and enhanced image and corresponding layout data will be written in out directory",
help="if this parameter set to true, this tool would check that input image need resizing and enhancement or not. If so output of resized and enhanced image and corresponding layout data will be written in out directory",
)
)
@click.option(
@click.option(
"--curved_line",
"--curved-line/--no-curvedline",
"-cl",
"-cl/-nocl",
is_flag=True,
is_flag=True,
help="if this parameter set to true, this tool will try to return contoure of textlines instead of rectabgle bounding box of textline. This should be taken into account that with this option the tool need more time to do process.",
help="if this parameter set to true, this tool will try to return contoure of textlines instead of rectabgle bounding box of textline. This should be taken into account that with this option the tool need more time to do process.",
)
)
@click.option(
@click.option(
"--full_layout",
"--full-layout/--no-full-layout",
"-fl",
"-fl/-nofl",
is_flag=True,
is_flag=True,
help="if this parameter set to true, this tool will try to return all elements of layout.",
help="if this parameter set to true, this tool will try to return all elements of layout.",
)
)
@click.option(
@click.option(
"--allow_scaling",
"--allow_scaling/--no-allow-scaling",
"-as",
"-as/-noas",
is_flag=True,
is_flag=True,
help="if this parameter set to true, this tool would check the scale and if needed it will scale it to perform better layout detection",
help="if this parameter set to true, this tool would check the scale and if needed it will scale it to perform better layout detection",
)
)
@click.option(
@click.option(
"--headers_off",
"--headers-off/--headers-on",
"-ho",
"-ho/-noho",
is_flag=True,
is_flag=True,
help="if this parameter set to true, this tool would ignore headers role in reading order",
help="if this parameter set to true, this tool would ignore headers role in reading order",