R/create_gt_txt.R
create_gt_txt.Rd
Create "ground truth" .gt.txt files in a folder of images
create_gt_txt(folder, extension, engine = NULL, verbose = FALSE)
A path to a folder with images.
A file extension, e.g., "png". Also accepts regex, e.g., "png|tif".
A Tesseract engine, made with `tesseract::tesseract()`.
Whether to print messages about each processed image. Defaults to `FALSE`.
Nothing. But .gt.txt "ground truth" files are created in the specified folder.