refactoring-2024-08-merged^2
cneud 9 months ago
parent 3f65934835
commit 47ee128c5a

@ -10,7 +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, # required=True,
) )
@click.option( @click.option(
"--out", "--out",
@ -199,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__":

Loading…
Cancel
Save