From 1a3d7175fee6809b0958d7f95dec567ca5174983 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 11 Jun 2019 14:18:46 +0200
Subject: [PATCH] Remove comments
---
ocr | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/ocr b/ocr
index ffe63aa..07e3913 100755
--- a/ocr
+++ b/ocr
@@ -18,16 +18,6 @@ import sys
from pyflow import WorkflowRunner
-''' TODO:
-' Implement --end-page: Last page to ocr
-' Implement --memMb: Total amount of memory (RAM) available for this workflow.
-' Default: 2048 * n_cores
-' Implement --rotate: Rotate pages from input (90, 180, 270)
-' Implement --split-pages: Split pages in half after possible rotation
-' Implement --start-page: First page to ocr
-'''
-
-
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'