Learn R Programming

abbyyR (version 0.5.5)

processImage: Process Image

Description

This function processes an image

Usage

processImage(file_path = "", language = "English",
  profile = c("documentConversion", "documentArchiving",
  "textExtraction", "barcodeRecognition"), textType = c("normal",
  "typewriter", "matrix", "index", "ocrA", "ocrB", "e13b", "cmc7",
  "gothic"), imageSource = c("auto", "photo", "scanner"),
  correctOrientation = c("true", "false"), correctSkew = c("true",
  "false"), readBarcodes = c("false", "true"), exportFormat = c("txt",
  "txtUnstructured", "rtf", "docx", "xlsx", "pptx", "pdfSearchable",
  "pdfTextAndImages", "pdfa", "xml", "xmlForCorrectedImage", "alto"),
  description = "", pdfPassword = "", ...)

Arguments

file_path

path to the document

language

optional, default: English

profile

String. Optional; default: documentConversion Options: documentConversion, documentArchiving, textExtraction, fieldLevelRecognition, barcodeRecognition

textType

String. Optional; default: normal Options: normal, typewriter, matrix, index, ocrA,ocrB, e13b,cmc7, gothic

imageSource

String. Optional; default: auto Options: auto, photo, scanner

correctOrientation

String. Optional; default: true. Options: true or false

correctSkew

String. Optional; default: true. Options: true or false

readBarcodes

Optional; Options: true or false

exportFormat

optional, default: txt options: txt, txtUnstructured, rtf, docx, xlsx, pptx, pdfSearchable, pdfTextAndImages, pdfa, xml, xmlForCorrectedImage, alto

description

optional, default: ""

pdfPassword

optional, default: NULL

Additional arguments passed to abbyy_POST.

Value

A data.frame with details of the task associated with the submitted Image

References

http://ocrsdk.com/documentation/specifications/image-formats/

http://ocrsdk.com/documentation/apireference/processImage/

Examples

Run this code
# NOT RUN {
processImage(file_path = "file_path", language = "English", exportFormat = "txtUnstructured")
# }

Run the code above in your browser using DataLab