You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocrd_calamari/ocrd_calamari/cli.py

14 lines
364 B
Python

import click
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
from ocrd_calamari.recognize import CalamariRecognize
@click.command()
@ocrd_cli_options
def ocrd_calamari_recognize(*args, **kwargs):
"""
Run Calamari OCR multi-model recognition and voting
"""
return ocrd_cli_wrap_processor(CalamariRecognize, *args, **kwargs)