refactor class name

pull/6/head
Clemens Neudecker 5 years ago committed by GitHub
parent d08712533a
commit 2ecb021870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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