Merge pull request #41 from kba/getlogger

getLogger per method
pull/45/head
vahidrezanezhad 4 years ago committed by GitHub
commit cbc9838aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save