magick (version 1.1)

image_ocr: OCR

Description

Extract text from an image. Requires the 'tesseract' package.

Usage

image_ocr(image, ...)

Arguments

image

object returned by image_read

...

additional parameters passed to tesseract::tesseract()

Examples

Run this code
# NOT RUN {
if(require("tesseract")){
img <- image_read("http://jeroen.github.io/images/testocr.png")
image_ocr(img)
}
# }

Run the code above in your browser using DataLab