processTextField: Process Text Field

View source: R/processTextField.R

processTextFieldR Documentation

Process Text Field

Description

This function gets Information about a particular application

Usage

processTextField(file_path = "", region = "-1,-1,-1,-1",
  language = "English", letterSet = "", regExp = "",
  textType = "normal", oneTextLine = "false",
  oneWordPerTextLine = "false", markingType = "simpleText",
  placeholdersCount = "1", writingStyle = "default",
  description = "", pdfPassword = "", ...)

Arguments

file_path

path of the document

region

coordinates of region from top left, 4 values: top left bottom right; optional; default: "-1,-1,-1,-1" (entire image)

language

optional; default: "English"

letterSet

letterset to be used for recognition, set by language but can be customized; optional; default: ""

regExp

which words are allowed in the field. see regular expression documentation; optional; default: ""

textType

type of the text in the field including typewriter, handprinted; optional; default: "normal"

oneTextLine

field contains only one text line or more; optional; default: "false"

oneWordPerTextLine

field contains one word per line or not; optional; default: "false"

markingType

only for handprint recognition, includes underlinedText etc.; optional; default: "simpleText"

placeholdersCount

No. of character cells for the field; optional; default: "1"

writingStyle

handprint writing style, see Abbyy FineReader documentation for values; optional; default: "default"

description

Description of processing task; optional; default: ""

pdfPassword

Password for pdf; optional; default: ""

...

Additional arguments passed to abbyy_POST.

Value

Data frame with details of the task associated with the submitted Image

References

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

http://ocrsdk.com/documentation/specifications/regular-expressions/

Examples

## Not run: 
processTextField(file_path="file_path")

## End(Not run)

soodoku/abbyyR documentation built on July 19, 2023, 8:36 a.m.