mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-10 04:09:53 +02:00
getLogger per method
This commit is contained in:
parent
bb9b1ab41b
commit
e4982aff37
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
|
||||
|
||||
TOOL = 'ocrd-calamari-recognize'
|
||||
log = getLogger('processor.CalamariRecognize')
|
||||
|
||||
|
||||
class CalamariRecognize(Processor):
|
||||
|
@ -51,6 +50,7 @@ class CalamariRecognize(Processor):
|
|||
"""
|
||||
Performs the recognition.
|
||||
"""
|
||||
log = getLogger('processor.CalamariRecognize')
|
||||
|
||||
assert_file_grp_cardinality(self.input_file_grp, 1)
|
||||
assert_file_grp_cardinality(self.output_file_grp, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue