Learn R Programming

abbyyR (version 0.3)

processImage: Process Image

Description

This function processes an image

Usage

processImage(file_path = "", language = "English",
  profile = "documentConversion", textType = "normal",
  imageSource = "auto", correctOrientation = "true", correctSkew = "true",
  readBarcodes = "false", exportFormat = "txt", description = "",
  pdfPassword = "")

Arguments

file_path
path to the document
language
optional, default: English
profile
optional, default: documentConversion
textType
optional, default: normal
imageSource
optional, default: auto
correctOrientation
optional, default: true
correctSkew
optional, default: true
readBarcodes
optional, default: 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

Value

  • 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
processImage(file_path="file_path", language="English", exportFormat="txtUnstructured")

Run the code above in your browser using DataLab