mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-08-08 16:49:54 +02:00
commit
04e950a0a8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,6 @@ from ocrd_utils import (
|
||||||
from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL
|
from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL
|
||||||
|
|
||||||
TOOL = 'ocrd-calamari-recognize'
|
TOOL = 'ocrd-calamari-recognize'
|
||||||
log = getLogger('processor.CalamariRecognize')
|
|
||||||
|
|
||||||
|
|
||||||
class CalamariRecognize(Processor):
|
class CalamariRecognize(Processor):
|
||||||
|
@ -51,6 +50,7 @@ class CalamariRecognize(Processor):
|
||||||
"""
|
"""
|
||||||
Performs the recognition.
|
Performs the recognition.
|
||||||
"""
|
"""
|
||||||
|
log = getLogger('processor.CalamariRecognize')
|
||||||
|
|
||||||
assert_file_grp_cardinality(self.input_file_grp, 1)
|
assert_file_grp_cardinality(self.input_file_grp, 1)
|
||||||
assert_file_grp_cardinality(self.output_file_grp, 1)
|
assert_file_grp_cardinality(self.output_file_grp, 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue