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.
# NOT RUN {tesseract_download("fra")
french <- tesseract("fra")
text <- ocr("https://jeroen.github.io/images/french_text.png", engine = french)
cat(text)
# }