Support for multi-page documents in ABBYY FlexiLayout Studio
Multi-page sheet and coordinates
The multitude of all the pages of a document is termed a multi-page sheet. A multi-page sheet is obtained by merging together the pages of the document top down, without any joints or gaps, the left edges of all the pages are placed on the same axis that goes through the point (0,0). The sequence of the pages in the sheet depends on their order in the batch.
Two coordinate systems are used – global (goes through the entire document) and local (bound to a particular page. The only difference between the global and local coordinate systems is that the global system has parallel shifts, each page having its own shift.
Let there be 3 pages in document 3 having the following sizes: 2500x3500, 2400x3400, and 2300x3300.
Then the global coordinates of the pages are: [0, 0, 2500, 3500], [0, 3500, 2400, 6900], [0, 6900, 2300, 10200] (in the order [left, top, right, bottom]).
For relations between elements, the global coordinate system is used, so that the relations, such as BELOW, are interpreted correctly.
Hypotheses for the following elements may be located on multiple pages:
- Repeating Group
- Object Collection
Region and Object Collection elements contain all the appropriate objects within the search area.