To improve pattern matching accuracy, you can specify multiple anchor objects. For example, by defining anchor objects at the upper left and lower right of the page, you can improve the resulting registration.
PatternMatch_Identify does only a simple averaging of the offsets. The pat_registerZones action can do interpolate registration, where field positions are adjusted based on their proximity to each of the anchor objects.
In the following example, IBM® Datacap Taskmaster Capture located an anchor object at the upper left and the lower right of the page. Then, it calculated an offset value for each anchor. It averaged these values to determine the offset required to bring the page image into best alignment. It wrote these values to the Image_Offset variable of the page.
RRS log: |
|
Runtime page data: |
|
In addition to storing the page image offset, PatternMatch_Identify also creates a page data file. It also stores the zone offset for each anchor in the Zone_Offset variable of the field.
<V n="Zone_Offset">100,100</V> <-- Offset for first anchor