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
- Switch to Open Classifier Training Batches mode and load document images into a new batch.
- 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.
- Train the classifier with Classification Training → Train.
5
Train field region detection for each variant
- Switch to Field Extraction Training Batches mode and create a new batch.
- Select your Document Definition and a variant to train.
- Load and recognize 3 to 50 images per document kind, adjust the field positions, and set document states (For training / For testing).
- 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.
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.
