mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-08 19:29:53 +02:00
pass version to processor base constructor, fix #14
This commit is contained in:
parent
7b0ac5a97a
commit
0fcc5c1f79
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class CalamariRecognize(Processor):
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
kwargs['ocrd_tool'] = OCRD_TOOL['tools']['ocrd-calamari-recognize']
|
kwargs['ocrd_tool'] = OCRD_TOOL['tools']['ocrd-calamari-recognize']
|
||||||
|
kwargs['version'] = OCRD_TOOL['version']
|
||||||
super(CalamariRecognize, self).__init__(*args, **kwargs)
|
super(CalamariRecognize, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
def _init_calamari(self):
|
def _init_calamari(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue