mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-14 14:20:03 +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):
|
||||
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
|
||||
|
@ -1475,7 +1475,7 @@ class textlineerkenner:
|
|||
def main(image, out, model):
|
||||
possibles = globals() # XXX unused?
|
||||
possibles.update(locals())
|
||||
x = textlineerkenner(image, out, None, model)
|
||||
x = textline_detector(image, out, None, model)
|
||||
x.run()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue