From d63b5f4301d44f6040458431e4416710139f5865 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 19 Nov 2020 18:03:48 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20ocrd-tesserocr-segment-{regio?= =?UTF-8?q?n,line}=20commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wrapper/qurator/ocrd_galley/cli.py | 2 ++ wrapper/setup.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wrapper/qurator/ocrd_galley/cli.py b/wrapper/qurator/ocrd_galley/cli.py index 3aee047..3a883ed 100644 --- a/wrapper/qurator/ocrd_galley/cli.py +++ b/wrapper/qurator/ocrd_galley/cli.py @@ -15,6 +15,8 @@ sub_images = { "ocrd-sbb-textline-detector": "sbb_textline_detector", "ocrd-calamari-recognize": "ocrd_calamari", "ocrd-calamari-recognize-feat-update-calamari1": "ocrd_calamari-feat-update-calamari1", + "ocrd-tesserocr-segment-region": "ocrd_tesserocr", + "ocrd-tesserocr-segment-line": "ocrd_tesserocr", "ocrd-tesserocr-recognize": "ocrd_tesserocr", "ocrd-dinglehopper": "dinglehopper", "ocrd-cis-ocropy-clip": "ocrd_cis", diff --git a/wrapper/setup.py b/wrapper/setup.py index 1adbf78..f656c9d 100644 --- a/wrapper/setup.py +++ b/wrapper/setup.py @@ -18,6 +18,8 @@ setup( "ocrd-sbb-textline-detector=qurator.ocrd_galley.cli:main", "ocrd-calamari-recognize=qurator.ocrd_galley.cli:main", "ocrd-calamari-recognize-feat-update-calamari1=qurator.ocrd_galley.cli:main", + "ocrd-tesserocr-segment-region=qurator.ocrd_galley.cli:main", + "ocrd-tesserocr-segment-line=qurator.ocrd_galley.cli:main", "ocrd-tesserocr-recognize=qurator.ocrd_galley.cli:main", "ocrd-dinglehopper=qurator.ocrd_galley.cli:main", "ocrd-cis-ocropy-clip=qurator.ocrd_galley.cli:main",