library(Rtesseract)
f = system.file("images", "OCRSample2.png", package = "Rtesseract")
ts = tesseract(f)
Recognize(ts)
ri = as(ts, "ResultIterator")
rm(ts)
gc()
gc()
a = getAlternatives(ri)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.