mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-14 06:10:01 +02:00
commit
cbc9838aec
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
|
from qurator.sbb_textline_detector import textline_detector
|
||||||
|
|
||||||
log = getLogger('processor.OcrdSbbTextlineDetectorRecognize')
|
|
||||||
|
|
||||||
OCRD_TOOL = json.loads(resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
|
OCRD_TOOL = json.loads(resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +48,7 @@ class OcrdSbbTextlineDetectorRecognize(Processor):
|
||||||
return image_file
|
return image_file
|
||||||
|
|
||||||
def process(self):
|
def process(self):
|
||||||
|
log = getLogger('processor.OcrdSbbTextlineDetectorRecognize')
|
||||||
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