Description Usage Arguments Author(s) Examples
OCR and OCR_data are wrappers for ocr and ocr_data of tesseract package. You need to install tesseract package to use these functions.
1 2 3 |
imorpx |
a grayscale image of class cimg or a pixel set |
engine |
a tesseract engine. See the reference manual of tesseract for detail. |
HOCR |
if TRUE return results as HOCR xml instead of plain text |
Shota Ochi
1 2 3 4 5 6 | hello <- DenoiseDCT(papers, 0.01) %>% ThresholdAdaptive(., 0.1, range = c(0,1))
if (requireNamespace("tesseract", quietly = TRUE))
{
OCR(hello) %>% cat
OCR_data(hello)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.