Learn R Programming

tesseract (version 1.3)

tesseract_download: Tesseract Training Data

Description

Helper function to download training data from the official tessdata repository. Only use this function on Windows and OS-X. On Linux, training data can be installed directly with yum or apt-get.

Usage

tesseract_download(lang, datapath = NULL, progress = TRUE)
tesseract_info()

Arguments

lang
three letter code for language, see tessdata repository.
datapath
destination directory where to download store the file
progress
print progress while downloading

Examples

Run this code
## Not run: 
# tesseract_download("fra")
# french <- tesseract("fra")
# text <- ocr("http://ocrapiservice.com/static/images/examples/french_text.png", engine = french)
# cat(text)
# ## End(Not run)

Run the code above in your browser using DataLab