Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@ocrd_cli_options
def cli_param_dumper(*args, **kwargs): # pylint: disable=unused-argument
print(json.dumps(kwargs['parameter']))
@ocrd_cli_options
def ocrd_segment_extract_regions(*args, **kwargs):
return ocrd_cli_wrap_processor(ExtractRegions, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_deskew(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrDeskew, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_crop(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrCrop, *args, **kwargs)
@ocrd_cli_options
def cli(*args, **kwargs):
return ocrd_cli_wrap_processor(DummyProcessor, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_segment_line(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrSegmentLine, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_segment_word(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrSegmentWord, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_segment_region(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrSegmentRegion, *args, **kwargs)
@ocrd_cli_options
def ocrd_tesserocr_recognize(*args, **kwargs):
return ocrd_cli_wrap_processor(TesserocrRecognize, *args, **kwargs)
@ocrd_cli_options
def ocrd_segment_from_coco(*args, **kwargs):
return ocrd_cli_wrap_processor(ImportCOCOSegmentation, *args, **kwargs)