mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-09 03:40:18 +02:00
getLogger per method
This commit is contained in:
parent
0f09f4a1f6
commit
f167f6768c
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,6 @@ from pkg_resources import resource_string
|
|||
|
||||
from qurator.sbb_textline_detector import textline_detector
|
||||
|
||||
log = getLogger('processor.OcrdSbbTextlineDetectorRecognize')
|
||||
|
||||
OCRD_TOOL = json.loads(resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
|
||||
|
||||
|
||||
|
@ -50,6 +48,7 @@ class OcrdSbbTextlineDetectorRecognize(Processor):
|
|||
return image_file
|
||||
|
||||
def process(self):
|
||||
log = getLogger('processor.OcrdSbbTextlineDetectorRecognize')
|
||||
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