> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 4. Step 2: View the images and pre-recognition results

> Run pre-recognition on the Sample 4 batch and review which text objects and separators are reliable starting points for the multi-page FlexiLayout.

Before you create the FlexiLayout, decide which image objects can identify the beginning and the end of the document and locate the required data fields. Rely only on the graphical and text objects that pre-recognition detects consistently on the images.

Special **Header** and **Footer** elements can detect the beginning and the end of a document. Each one can consist of one or more elements that unambiguously identify the document's beginning or end.

## Run pre-recognition

<Steps>
  <Step title="Select the images">
    Select all the images in the batch.
  </Step>

  <Step title="Start pre-recognition">
    Select the **Prerecognize** command from the **Batch** menu or the image's shortcut menu.

    For more information about pre-recognition, see Sample 1, [Step 4](/flexi-capture/fls/tutorial/step4).
  </Step>

  <Step title="Examine the pre-recognition results">
    All the text objects that correspond to the field names, column names, and horizontal separators are detected reliably, so you can use them as starting points to look for other objects on the images.

    For more information about viewing images and pre-recognition results, see Sample 1, [Step 5](/flexi-capture/fls/tutorial/step5) and [Step 6](/flexi-capture/fls/tutorial/step6).
  </Step>
</Steps>

Now you can create and set up reference elements and search constraints for the blocks that correspond to the data fields. Activate the FlexiLayout window and go to the next step.
