Define field zones

The position of each field zone is defined by coordinates (x1, y1, x2, y2) that specify the upper left and lower right corners of the zone relative to the upper left corner of the page.

During recognition, Datacap uses the zone information to determine where the required information is on the page. If the runtime page image is not aligned precisely with the matched fingerprint, Datacap uses the calculated offset values to adjust the zone positions.

When you define the field zones in Datacap Studio, Datacap writes the position information into the document hierarchy. If you are defining the zones during verification, the iloc_SetZones action does the same. The document hierarchy XML file example shows the position of the Pickup_Date field for three different fingerprints:

<F type="Pickup_Date">
    <V n="ID">0</V>
    <V n="TYPE">Field</V>
    <V n="STATUS">0</V>
    <V n="POSITION">0,0,0,0</V>
    <V n="MIN_TYPES">0</V>
    <V n="MAX_TYPES">0</V>
    <V n="ReqConf">8</V>
    <V n="rules">&lt;in&gt;&lt;r id=&quot;1&quot; rs=&quot;9&quot; </V>
    <V n="Pos556">183,402,535,463</V>
    <V n="Pos558">568,331,967,389</V>
    <V n="Pos560">1199,389,1600,448</V> 
</F>

The last three entries in the XML file indicate the Zone position for fingerprints 556, 558, and 560.

It is also possible to store the field position information for each fingerprint in a separate file. For more information, see Using fingerprint XML files. This is helpful if your application has many fingerprints.