|
|
@ -2164,8 +2164,6 @@ class textline_detector:
|
|
|
|
@click.option('--out', '-o', help='directory to write output xml data', type=click.Path(exists=True, file_okay=False))
|
|
|
|
@click.option('--out', '-o', help='directory to write output xml data', type=click.Path(exists=True, file_okay=False))
|
|
|
|
@click.option('--model', '-m', help='directory of models', type=click.Path(exists=True, file_okay=False))
|
|
|
|
@click.option('--model', '-m', help='directory of models', type=click.Path(exists=True, file_okay=False))
|
|
|
|
def main(image, out, model):
|
|
|
|
def main(image, out, model):
|
|
|
|
possibles = globals() # XXX unused?
|
|
|
|
|
|
|
|
possibles.update(locals())
|
|
|
|
|
|
|
|
x = textline_detector(image, out, None, model)
|
|
|
|
x = textline_detector(image, out, None, model)
|
|
|
|
x.run()
|
|
|
|
x.run()
|
|
|
|
|
|
|
|
|
|
|
|