Skip to main content
An administrator can train field extraction when a project must be trained before operators start working on it, or when auto-learning proves insufficient.

Train fields with the default variant

1

Create the Document Definition

Create a Document Definition. In its section properties, select Allow field location training.
2

Create the fields

Create the fields in the section, and select Can have region in each field’s properties.
3

Save and publish

Save and publish the Document Definition.
4

Create a training batch

Switch to Field Extraction Training Batches mode and create a new batch. Select the Document Definition you created, and then select Default variant from the list of variants.
5

Load and recognize images

Load document images and recognize them. Load 3 to 50 images for each kind of document.
6

Adjust the field positions

Adjust the positions of the fields.
7

Set document states

Select some documents, right-click, and click Set Document State → For training. Select the remaining documents and click Set Document State → For testing. Use about 60% of the batch for training and 40% for testing.
8

Train field extraction

  • In a standalone installation, click Fields Training → Train.
  • In a distributed installation, click Fields Training → Train to train on the computer where the Project Setup Station is installed. To train on a Processing Station instead, right-click the batch and select Send for Training.

Train fields for multiple document variants

For documents with variable field locations, create variants and train a classifier to distinguish them. For more information, see Variable field locations on documents of the same type.
1

Create the Document Definition

Create a Document Definition. In its section properties, select Allow field location training, and create the fields with Can have region selected.
2

Add section variants

Add section variants using one of the following methods:
  • To create variants manually, on the Data Sets tab of the section properties, click View, and then click Add.
  • To load variants from a database, on the Data Sets tab, click Set Up, and select Database as the data source.
  • To create variants using a script, on the Data Sets tab, click Set Up, and select Script as the data source.
3

Save and publish

Save and publish the Document Definition.
4

Train a classifier on the variants

  1. Switch to Open Classifier Training Batches mode and load document images into a new batch.
  2. Assign a reference class to each document, using variants as separate classes. Click Set Class → Add → Add, select Specify variant, and then select a variant from the list.
  3. Train the classifier with Classification Training → Train.
You can also create a classifier in FlexiLayout Studio and import it. For more information, see Export and import classifiers.
5

Train field region detection for each variant

  1. Switch to Field Extraction Training Batches mode and create a new batch.
  2. Select your Document Definition and a variant to train.
  3. Load and recognize 3 to 50 images per document kind, adjust the field positions, and set document states (For training / For testing).
  4. Train the fields:
    • In a standalone installation, click Fields Training → Train.
    • In a distributed installation, click Fields Training → Train to train on the computer where the Project Setup Station is installed. To train on a Processing Station instead, right-click the batch and select Send for Training.
To let operators check and change the variant assigned to a document, display the variant IDs on the form with a service field. For more information, see Enable operators to change variants.
Configure auto-learning for field extraction so FlexiCapture learns to extract fields automatically as operators work on the configured project.

Send training batches to a Processing Station in a distributed installation

Because training can take a long time and consume significant resources, the administrator can train batches on a Processing Station. Before sending a training batch to a Processing Station, make sure that:
  • At least one Processing Station has been added on the Processing Server.
  • The project has been uploaded to the server.
To send a training batch, right-click it and select Send for Training. A training task then appears in the task queue in the Processing Server Monitor, and training runs on the Processing Station. You can send multiple training batches. You can also cancel a training task in the Processing Server Monitor. Batches sent for training are locked until training completes, so you cannot change them during training.