mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 11:49:55 +02:00
textline light version -tll can not work without enabling -light option
This commit is contained in:
parent
d68f240b59
commit
4c217018cc
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@ def main(
|
||||||
elif enable_plotting and not (save_layout or save_deskewed or save_all or save_page or save_images or allow_enhancement):
|
elif enable_plotting and not (save_layout or save_deskewed or save_all or save_page or save_images or allow_enhancement):
|
||||||
print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa, -sp, -si or -ae")
|
print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa, -sp, -si or -ae")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
if textline_light and not light_version:
|
||||||
|
print('Error: You used -tll to enable light textline detection but -light is not enabled')
|
||||||
|
sys.exit(1)
|
||||||
eynollah = Eynollah(
|
eynollah = Eynollah(
|
||||||
image_filename=image,
|
image_filename=image,
|
||||||
dir_out=out,
|
dir_out=out,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue