From b3b49272a5bbd51e46629f6d6231c767100597e3 Mon Sep 17 00:00:00 2001 From: vahid Date: Sat, 10 Jul 2021 07:28:31 -0400 Subject: [PATCH] README is updated --- README.md | 10 +++++++++- qurator/eynollah/cli.py | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f521c9d..238fc57 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,18 @@ eynollah \ -o \ -m \ -fl \ --ae \ +-ae \ -as \ -cl \ -si +-sd +-sa +-tab +-ib +-ho +-sl +-ep + ``` The tool does accept and works better on original images (RGB format) than binarized images. diff --git a/qurator/eynollah/cli.py b/qurator/eynollah/cli.py index 5837255..f343918 100644 --- a/qurator/eynollah/cli.py +++ b/qurator/eynollah/cli.py @@ -125,10 +125,10 @@ def main( setOverrideLogLevel(log_level) initLogging() if not enable_plotting and (save_layout or save_deskewed or save_all or save_images or allow_enhancement): - print("Error: You used one of -sl, -sd, -sa or -si or -ae but did not enable plotting with -ep") + print("Error: You used one of -sl, -sd, -sa, -si or -ae but did not enable plotting with -ep") sys.exit(1) elif enable_plotting and not (save_layout or save_deskewed or save_all or save_images or allow_enhancement): - print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa or -si or -ae") + print("Error: You used -ep to enable plotting but set none of -sl, -sd, -sa, -si or -ae") sys.exit(1) eynollah = Eynollah( image_filename=image,