mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 03:40:06 +02:00
fix CLI call
This commit is contained in:
parent
9db6edf51e
commit
2bc34891a5
1 changed files with 13 additions and 14 deletions
|
@ -117,20 +117,19 @@ def main(
|
||||||
print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa or -si")
|
print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa or -si")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
eynollah = Eynollah(
|
eynollah = Eynollah(
|
||||||
image,
|
image_filename=image,
|
||||||
None,
|
dir_out=out,
|
||||||
out,
|
dir_models=model,
|
||||||
model,
|
dir_of_cropped_images=save_images,
|
||||||
save_images,
|
dir_of_layout=save_layout,
|
||||||
save_layout,
|
dir_of_deskewed=save_deskewed,
|
||||||
save_deskewed,
|
dir_of_all=save_all,
|
||||||
save_all,
|
enable_plotting=enable_plotting,
|
||||||
enable_plotting,
|
allow_enhancement=allow_enhancement,
|
||||||
allow_enhancement,
|
curved_line=curved_line,
|
||||||
curved_line,
|
full_layout=full_layout,
|
||||||
full_layout,
|
allow_scaling=allow_scaling,
|
||||||
allow_scaling,
|
headers_off=headers_off,
|
||||||
headers_off,
|
|
||||||
)
|
)
|
||||||
pcgts = eynollah.run()
|
pcgts = eynollah.run()
|
||||||
eynollah.writer.write_pagexml(pcgts)
|
eynollah.writer.write_pagexml(pcgts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue