Description Usage Arguments Value References Examples
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.
1 2 3 4 5 6 7 8 9 10 | processDocument(taskId = NULL, language = "English",
profile = c("documentConversion", "documentArchiving",
"textExtraction", "fieldLevelRecognition", "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 = NULL, pdfPassword = NULL, ...)
|
taskId |
Only tasks with Submitted, Completed or NotEnoughCredits status can be processed using this function. |
language |
String. Optional; default: English |
profile |
String. Optional; default: |
textType |
String. Optional; default: |
imageSource |
String. Optional; default: |
correctOrientation |
String. Optional; default: |
correctSkew |
String. Optional; default: |
readBarcodes |
Optional;
Options: |
exportFormat |
optional, default: |
description |
Optional; default: "" |
pdfPassword |
Optional; default: NULL |
... |
Additional arguments passed to |
data.frame
with details of the task associated with the submitted Document
http://ocrsdk.com/documentation/apireference/processDocument/
1 2 3 4 | ## Not run:
processDocument(taskId = "task_id")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.