scripts.processing.tesseract

Functions

ocr_on_dir(crop_dir, new_dir, verbose_print, ...)

Perform OCR on all images in a directory.

ocr_on_file(file_path, args, thresh_mode, ...)

Perform OCR on a single image file.

parse_arguments()

Parse command-line arguments using argparse.

validate_paths(crop_dir, outdir)

Validate the existence of directories.