Learn R Programming

abbyyR (version 0.3)

processDocument: Process Document

Description

This function processes several images for the same task and results in a multi-page document. For instance, upload pages of the book individually via submitImage to the same task. And then process it via ProcessDocument to get a multi-page pdf.

Usage

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

Arguments

taskId
Only tasks with Submitted, Completed or NotEnoughCredits status can be processed using this function.
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:
exportFormat
Optional; default: txt
description
Optional; default: ""
pdfPassword
Optional; default: NULL

Value

  • Data frame with details of the task associated with the submitted Document

References

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

Examples

Run this code
processDocument(taskId = "task_id")

Run the code above in your browser using DataLab