Skip to main content
You can create a reference layout for each image in the batch. The reference layout shows where you want blocks to be located on the image. You can create a reference layout manually or from the results of matching the FlexiLayout, and you can edit it by adding or removing blocks and by changing their sizes and positions. Reference layouts are used when debugging FlexiLayouts, because they let you compare the results of matching your FlexiLayout with the block locations on each image.

Reference layout and Difference layout modes

You create reference layouts in Reference layout mode. To switch to this mode, click Reference layout button on the toolbar. Difference layout mode (Difference layout button button on the toolbar) shows the difference between the reference layout and the results of matching the FlexiLayout. It highlights two kinds of area:
  • Missing Areas – Areas present in the reference layout blocks but absent from the blocks detected by matching the FlexiLayout, highlighted in red.
  • Excess Areas – Areas absent from the reference layout blocks but present in the blocks detected by matching the FlexiLayout, highlighted in green.
The Batch window shows the percentages of Missing Areas and Excess Areas.

Create a reference layout manually

1

Open the image

Open the image you want to create a reference layout for.
2

Match the FlexiLayout with the image

For more information, see Match the FlexiLayout with images.
3

Switch to Reference layout mode

Click Reference layout button on the toolbar.
4

Draw the blocks

Draw the blocks you need with the Block-Drawing Tools toolbar.
5

Save the reference layout

Click Save button on the toolbar.

Create a reference layout from a matched FlexiLayout

1

Open the image

Open the image you want to create a reference layout for.
2

Match the FlexiLayout with the image

For more information, see Match the FlexiLayout with images.
3

Copy the matched layout

Select Copy Matched Layout to Reference from the Batch menu or the shortcut menu.
4

Adjust the blocks

Move or resize the blocks if the copied layout needs correcting.
5

Save the reference layout

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

Reference layout tools

The commands for creating and editing blocks are available in View → Images → Tool → Select. The corresponding buttons are on the toolbar.

Move a block border

1

Activate the Select tool

Click the Select tool on the toolbar, or select it in View → Images → Tool.
2

Point to the border

Place the mouse pointer on the block border you want to move.
3

Drag the border

Hold down the left mouse button, drag the border in the direction you want, and release.
If you place the mouse pointer in the corner of the block, dragging the mouse moves both the vertical and horizontal block borders.

Move a selected block

1

Activate the Select tool

Click the Select tool on the toolbar, or select it in View → Images → Tool.
2

Point to the block

Place the mouse pointer on the block. The pointer changes shape to show that you can move the block.
3

Drag the block

Hold down the left mouse button, drag the block in the direction you want, and release.
Sometimes a block is too small to move, because its borders are very close together and pointing at any of them activates the change-size mode. Hold down the Ctrl key to move such blocks.

Create a new block

1

Select the Create Block tool

Click the Create Block tool on the toolbar, or select it in View → Images → Tool.
2

Draw the block

Place the mouse pointer in the corner of the new block, hold down the left mouse button, drag the corner diagonally in the direction you want, and release.
3

Name the block

In the Create Block dialog box, enter a name for the new block.

Draw a block or element

1

Switch to training mode

Select Training Mode from the Training menu.
2

Select a block or element

In the FlexiLayout window, select a block or a static element.
3

Select the Draw Location tool

Click the Draw Location tool on the toolbar, or select it in View → Images → Tool.
4

Draw the location

Place the mouse pointer in the corner of the new block, hold down the left mouse button, drag the corner diagonally in the direction you want, and release.

Delete a block

1

Select the Delete Region tool

Click the Delete Region tool on the toolbar, or select it in View → Images → Tool.
2

Delete the block

Click the block you want to delete.

Add a rectangular area to a block

1

Select the Add Region Part tool

Click the Add Region Part tool on the toolbar, or select it in View → Images → Tool.
2

Point inside the block

Place the mouse pointer inside the block you want to add a rectangular area to.
3

Drag the area

Hold down the mouse button, drag the pointer diagonally in the direction you want, and release.
The rectangle is added to the block.

Cut out a rectangular area from a block

1

Select the Cut Region Part tool

Click the Cut Region Part tool on the toolbar, or select it in View → Images → Tool.
2

Point inside the block

Place the mouse pointer inside the block you want to cut a rectangular area from.
3

Drag the area

Hold down the left mouse button, drag the pointer diagonally in the direction you want, and release.
The rectangle is cut from the block.
When you cut out top or bottom block areas, the adjoining area on the right, up to the border of the block, is also cut out. This happens because the OCR engine can only recognize continuous text blocks. This constraint does not apply to left-hand and right-hand areas.

Add a vertical separator

1

Select the Add Vertical Separator tool

Click the Add Vertical Separator tool on the toolbar, or select it in View → Images → Tool.
2

Point to the location

Rest the mouse pointer over the location you want in the Table block. The pointer changes appearance.
3

Add the separator

Click the block.

Add a horizontal separator

1

Select the Add Horizontal Separator tool

Click the Add Horizontal Separator tool on the toolbar, or select it in View → Images → Tool.
2

Point to the location

Rest the mouse pointer over the location you want in the Table block. The pointer changes appearance.
3

Add the separator

Click the block.

Delete a separator

1

Select the Delete Separator tool

Click the Delete Separator tool on the toolbar, or select it in View → Images → Tool.
2

Point to the location

Rest the mouse pointer over the location you want in the Table block. The pointer changes appearance.
3

Delete the separator

Click the block.

Create a reference layout for Table block columns

1

Select the Table block

Click the Table block on the image.
2

Divide the block into cells

Use the Add Vertical Separator button, Add Horizontal Separator button, and Delete Separator button tools.
3

Name the column

Right-click the column and select the column name from the shortcut menu.
To delete a column from a Table block, right-click the column and select Delete Column from the shortcut menu.