Description Usage Arguments Value Examples
Want to quick OCR a local file and get the results? Use this function.
1 2 3 4 |
file_path |
path to file containing OCR'd text; required |
output_dir |
path to output directory. file_name will be same as input file name (except for the extension) |
exportFormat |
optional, default: txt; options: txt, txtUnstructured, rtf, docx, xlsx, pptx, pdfSearchable, pdfTextAndImages, pdfa, xml, xmlForCorrectedImage, alto |
save_to_file |
Required, Boolean, Default is TRUE, but if not, returns result to memory |
path to output file
1 2 3 4 | ## Not run:
ocrFile(file_path = "path_to_ocr_file", output_dir = "path_to_output_dir")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.