tess_ocr: Perform optical character recognition with tesseract

Description Usage Arguments Value See Also Examples

View source: R/ocr.R

Description

Uses Tesseract (which must be installed and on the $PATH) to perform optical character recognition (OCR) on a file.

Usage

1
tess_ocr(file, errfile)

Arguments

file

Path to file to be OCR'd

errfile

The file to which Tesseract STDERR is written

Value

The path to the OCR'd text file

See Also

extract_text

Examples

1
# res <- tess_ocr("test.pdf")

jacob-ogre/ocrerrors documentation built on May 18, 2019, 8:01 a.m.