hocr_from_zip | R Documentation |
This function unzips images and performs a system call to the tesseract command line tool, running tesseract-OCR on the given images.
hocr_from_zip(
zipped,
outputdir = ".",
exdir = NULL,
silent = FALSE,
options = ""
)
zipped |
path to zip file containing images. |
outputdir |
directory where to store the output hocr files. |
exdir |
directory where images are extracted to. Set to NULL to extract image in a temporary folder. |
silent |
whether or not to supress messages (default is FALSE). |
options |
additional options to pass to the tesseract command line tool. E.g. options="–psm 1" will use page segmentation mode one. |
List of output hocr file paths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.