RecAPI
Retrieved data format of kRecGetFindFormTemplateInfo

The function kRecGetFindFormTemplateInfo is useful mainly in template definition step. It provides information about the previous run of kRecFindFormTemplate. It gives XML format data in a memory buffer. The retrieved data may contain the following nodes. Indentation means embedding of nodes.

Name Description Value
FindFormTemplate root
Templates
Template
name name of the form template string
index index of the form template in form template array int
enabled template enabled or not (see: kRecFindFormTemplate filters) Yes/No
matchings number of successfull matchings int
select 0 if selector anchor not found, otherwise 1 0/1
match successful matching
ID matching ID hexadecimal
confidence confidence int
err error code (RECERR) hexadecimal
rank the rank of matching (confidence order, the rank of best matching is 0) int
anchor
zoneindex index of the anchor zone int
type type of the anchor zone AT_SELECTOR
AT_POSITIONAL
AT_REFERENCE
AT_CHECK
content content of the anchor zone AC_TEXT
AC_BARCODE
driftX drift value int
driftY drift value int
value text string
regexp regular expression string
err error code (RECERR) hexadecimal
l rectangle: left int
t rectangle: top int
r rectangle: right int
b rectangle: bottom int
OCR recognized text in zone string
nonmatch unsuccesful matching
confidence confidence int
err error code (RECERR) hexadecimal
anchor
zoneindex index of the anchor zone int
type type of the anchor zone AT_SELECTOR
AT_POSITIONAL
AT_REFERENCE
AT_CHECK
content content of the anchor zone AC_TEXT
AC_BARCODE
driftX drift value int
driftY drift value int
value text string
regexp regular expression string
err error code (RECERR) hexadecimal
l rectangle: left int
t rectangle: top int
r rectangle: right int
b rectangle: bottom int
dl drift rectangle: left int
dt drift rectangle: top int
dr drift rectangle: right int
db drift rectangle: bottom int
RecognizedWords contains recognized words in drift area
wd one recognized word in drift area
l word rectangle: left int
t word rectangle: top int
r word rectangle: right int
b word rectangle: bottom int
OCR recognized word string