Structure-based page identification
Structure-based identification uses the position of a page within the batch to determine its type.
You can assign page types that are based on position when application manages only one page type, or when the document structure is consistent. For example, all documents are two pages with a main page and a trailing page. For structure-based identification, use the Set Page Type action.
| Library | Action | Description |
|---|---|---|
| DCO | SetPageType | Assigns a page type to the current page. |
| DCO | SetPageStatus | Sets the status of the current page. |
If a batch contains documents of varying length, you can use separator pages between documents. For an example that uses barcoded separators, look at the Datacap Accounts Payable (APT) foundation application that you can run with Datacap.
When you identify a page by using structure-based identification, the page is not matched to a fingerprint. Therefore, even though recognition zones are available for your application to locate data during recognition, the zones are not aligned to the scanned image. After you identify a page with structure-based methods, the application can be customized to call CreateFields. When this call is in place, recognition zones are located wherever they were defined on the original fingerprint image for that page type. The zone locations are not adjusted for shifting of the scanned image as they would be if Fingerprint matching were used. However, this limitation can be mostly overcome in at least two ways. You can crop and de-skew the image during an image-processing step. You can use pattern-match anchors to align the zones.