|
|
@ -10,6 +10,7 @@ from eynollah.eynollah.eynollah import Eynollah
|
|
|
|
"-i",
|
|
|
|
"-i",
|
|
|
|
help="image filename",
|
|
|
|
help="image filename",
|
|
|
|
type=click.Path(exists=True, dir_okay=False),
|
|
|
|
type=click.Path(exists=True, dir_okay=False),
|
|
|
|
|
|
|
|
required=True,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@click.option(
|
|
|
|
@click.option(
|
|
|
|
"--out",
|
|
|
|
"--out",
|
|
|
@ -198,9 +199,9 @@ def main(
|
|
|
|
light_version=light_version,
|
|
|
|
light_version=light_version,
|
|
|
|
ignore_page_extraction=ignore_page_extraction,
|
|
|
|
ignore_page_extraction=ignore_page_extraction,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
eynollah.run()
|
|
|
|
# eynollah.run()
|
|
|
|
# pcgts = eynollah.run()
|
|
|
|
pcgts = eynollah.run()
|
|
|
|
# eynollah.writer.write_pagexml(pcgts)
|
|
|
|
eynollah.writer.write_pagexml(pcgts)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
if __name__ == "__main__":
|
|
|
|