| hocr_from_images | R Documentation | 
This function performs a system call to the tesseract command line tool, running tesseract-OCR on the given images.
hocr_from_images(imgfiles, outputdir=here(), silent=FALSE, options="")
imgfiles | 
 list of image file paths. Image format should be compatible with tesseract as configured on the user's system. JPEG and PNG files are generally compatible.  | 
outputdir | 
 directory where to store the output hocr files.  | 
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.