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 = "", ...)
path to the document
optional, default: English
String. Optional; default: documentConversion
Options: documentConversion, documentArchiving, textExtraction, fieldLevelRecognition, barcodeRecognition
String. Optional; default: normal
Options: normal, typewriter, matrix, index, ocrA,ocrB, e13b,cmc7, gothic
String. Optional; default: auto
Options: auto, photo, scanner
String. Optional; default: true
.
Options: true
or false
String. Optional; default: true
.
Options: true
or false
Optional;
Options: true
or false
optional, default: txt
options: txt, txtUnstructured, rtf, docx, xlsx, pptx, pdfSearchable, pdfTextAndImages, pdfa, xml, xmlForCorrectedImage, alto
optional, default: ""
optional, default: NULL
Additional arguments passed to abbyy_POST
.
A data.frame
with details of the task associated with the submitted Image
http://ocrsdk.com/documentation/specifications/image-formats/
# NOT RUN {
processImage(file_path = "file_path", language = "English", exportFormat = "txtUnstructured")
# }
Run the code above in your browser using DataLab