mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-07 19:05:20 +02:00
refactor class name
This commit is contained in:
parent
d08712533a
commit
2ecb021870
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ __doc__ = \
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class textlineerkenner:
|
class textline_detector:
|
||||||
def __init__(self, image_dir, dir_out, f_name, dir_models):
|
def __init__(self, image_dir, dir_out, f_name, dir_models):
|
||||||
self.image_dir = image_dir # XXX This does not seem to be a directory as the name suggests, but a file
|
self.image_dir = image_dir # XXX This does not seem to be a directory as the name suggests, but a file
|
||||||
self.dir_out = dir_out
|
self.dir_out = dir_out
|
||||||
|
@ -1475,7 +1475,7 @@ class textlineerkenner:
|
||||||
def main(image, out, model):
|
def main(image, out, model):
|
||||||
possibles = globals() # XXX unused?
|
possibles = globals() # XXX unused?
|
||||||
possibles.update(locals())
|
possibles.update(locals())
|
||||||
x = textlineerkenner(image, out, None, model)
|
x = textline_detector(image, out, None, model)
|
||||||
x.run()
|
x.run()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue