processImage | R Documentation |
This function processes an image
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 = "", ...)
file_path |
path to the document |
language |
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 |
A data.frame
with details of the task associated with the submitted Image
http://ocrsdk.com/documentation/specifications/image-formats/
http://ocrsdk.com/documentation/apireference/processImage/
## Not run:
processImage(file_path = "file_path", language = "English", exportFormat = "txtUnstructured")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.