From c1f52526330ec316c6506138b9475f5871375809 Mon Sep 17 00:00:00 2001 From: stephan Date: Mon, 17 Feb 2020 14:59:34 +0100 Subject: [PATCH] Some cosmetics --- ocr | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ocr b/ocr index 0c9eafb..167fae1 100755 --- a/ocr +++ b/ocr @@ -16,12 +16,17 @@ import os import re import sys from pyflow import WorkflowRunner -from zipfile import ZipFile def parse_arguments(): parser = argparse.ArgumentParser( - description='Performs OCR of (historical) documents utilizing OCRopus for preprocessing and Tesseract OCR for OCR. The results are served as hOCR, PDF, raw text and TEI compliant XML files.\nSoftware requirements: imagemagick, ocropus, pdftoppm, pdfunite, poppler-utils, pyflow, python2.7, python3.5, tesseract' + description='''Performs OCR of (historical) documents utilizing OCRopus + for preprocessing and Tesseract OCR for OCR. The results + are served as hOCR, PDF, raw text and TEI compliant XML + files.\n + Software requirements: imagemagick, ocropus, pdftoppm, + pdfunite, poppler-utils, pyflow, python2.7, python3.5, + tesseract''' ) parser.add_argument( '-i',