English (English)

Reference layout

You can create a reference layout for each image in the batch. The reference layout shows the desired location of blocks on the image. You can create a reference layout manually or by using the results of matching the FlexiLayout. You can edit a reference layout by adding or removing blocks, changing their sizes and locations, etc.

Reference layouts are used when debugging FlexiLayouts, as it allows you to compare the results of matching your FlexiLayout with the desired block locations on each of the images.

Reference layouts are created in Reference layout mode. Click on the toolbar to switch to the Reference Layout mode.

The Difference layout mode ( button on the toolbar) displays the difference between the reference layout and the results of matching the FlexiLayout. Areas which are present in the blocks of the reference layout but are absent in the blocks detected by matching the FlexiLayout (Missing Areas) are highlighted in red. The areas which are absent in the blocks of the reference layout but present in the blocks detected by matching the FlexiLayout (Excess Areas) are highlighted in green. The Batch window displays the percentages of Missing Areas and Excess Areas.

To create a reference layout manually:

  1. Open the image for which you wish to create a reference layout.
  2. Match the FlexiLayout with the image.
  3. Switch to Reference layout mode.
  4. Draw the required blocks on the image. (Use the Block-Drawing Tools.)
  5. Click on the toolbar to save the reference layout.

To create a reference layout on the basis of a matched FlexiLayout::

  1. Open the image for which you wish to create a reference layout.
  2. Match the FlexiLayout with the image.
  3. Select Copy Matched Layout to Reference from the Batch menu or from the shortcut menu.
  4. Adjust the locations of the blocks if required.
  5. Click on the toolbar to save the reference layout.

You can also use the Copy Matched Layout to Reference command from the shortcut menu of the batch to save as a reference layout the results of matching the FlexiLayout with selected batch pages.

Reference layout tools

The commands for creating and editing blocks can be found in  View → Images → Tool → Select. The buttons corresponding to these commands can be found on the toolbar.

Button

Select (button on the toolbar) selects an existing block on the image and moves its borders.

Button

Create Block ( button on the toolbar) creates a new block on the image.

Button

Draw Location ( button on the toolbar) draws the location of a selected block or element.

Button

Delete Region ( button on the toolbar) deletes a block from the image.

Button

Add Region Part ( button on the toolbar) adds a rectangular area to the selected block.

Button

Cut Region Part ( button on the toolbar) cuts out a rectangular area from the selected block.

Button

Add Vertical Separator ( button on the toolbar) adds a vertical separator to the selected table block.

Button

Add Horizontal Separator ( button on the toolbar) adds a horizontal separator to the selected table block.

Button

Delete Separator ( button on the toolbar) deletes a separator from the selected block.

Block columns shortcut menu

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.