How to use the ocrd.decorators.ocrd_cli_wrap_processor function in ocrd

To help you get started, we’ve selected a few ocrd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OCR-D / core / tests / test_decorators.py View on Github external
def cli_dummy_processor(*args, **kwargs):
    return ocrd_cli_wrap_processor(DummyProcessor, *args, **kwargs)
github OCR-D / ocrd_segment / ocrd_segment / cli.py View on Github external
def ocrd_segment_extract_lines(*args, **kwargs):
    return ocrd_cli_wrap_processor(ExtractLines, *args, **kwargs)
github OCR-D / ocrd_tesserocr / ocrd_tesserocr / cli.py View on Github external
def ocrd_tesserocr_segment_region(*args, **kwargs):
    return ocrd_cli_wrap_processor(TesserocrSegmentRegion, *args, **kwargs)
github OCR-D / ocrd_segment / ocrd_segment / cli.py View on Github external
def ocrd_segment_extract_regions(*args, **kwargs):
    return ocrd_cli_wrap_processor(ExtractRegions, *args, **kwargs)
github OCR-D / ocrd_segment / ocrd_segment / cli.py View on Github external
def ocrd_segment_extract_pages(*args, **kwargs):
    return ocrd_cli_wrap_processor(ExtractPages, *args, **kwargs)
github OCR-D / ocrd_tesserocr / ocrd_tesserocr / cli.py View on Github external
def ocrd_tesserocr_segment_table(*args, **kwargs):
    return ocrd_cli_wrap_processor(TesserocrSegmentTable, *args, **kwargs)
github OCR-D / ocrd_segment / ocrd_segment / cli.py View on Github external
def ocrd_segment_from_masks(*args, **kwargs):
    return ocrd_cli_wrap_processor(ImportImageSegmentation, *args, **kwargs)
github OCR-D / ocrd_tesserocr / ocrd_tesserocr / cli.py View on Github external
def ocrd_tesserocr_crop(*args, **kwargs):
    return ocrd_cli_wrap_processor(TesserocrCrop, *args, **kwargs)
github OCR-D / ocrd_tesserocr / ocrd_tesserocr / cli.py View on Github external
def ocrd_tesserocr_segment_word(*args, **kwargs):
    return ocrd_cli_wrap_processor(TesserocrSegmentWord, *args, **kwargs)
github OCR-D / ocrd_segment / ocrd_segment / cli.py View on Github external
def ocrd_segment_evaluate(*args, **kwargs):
    return ocrd_cli_wrap_processor(EvaluateSegmentation, *args, **kwargs)