Create "ground truth" .gt.txt files in a folder of images

create_gt_txt(folder, extension, engine = NULL)

Arguments

folder

A path to a folder with images.

extension

A file extension, e.g., "png". Also accepts regex, e.g., "png|tif".

engine

A Tesseract engine, made with `tesseract::tesseract()`.

Value

Nothing. But .gt.txt "ground truth" files are created in the specified folder.