The actions described in this section can be performed only by the administrator or by users with permissions to set up projects in FlexiCapture for Invoices.
Manage sample images used for training
Double-click a training batch, or right-click it and click Open on the shortcut menu, to display the list of sample images used for the corresponding FlexiLayout variant. Each sample image can be in one of three states:- Unused — Not used for training or testing this FlexiLayout variant.
- For training — Used for training and testing this FlexiLayout variant.
- For testing — Used only for testing this FlexiLayout variant.
1
Set the image states
Change the state of the images you want to use to For training: select the images, right-click them, and select Set Document State → For training. If you have not trained this document variant before, we recommend changing all the sample images to For training.
2
Check the region markup
Check the markup of all the regions and adjust it as necessary. This is important, because the positions of all the regions are taken into account.
3
Start training
Do one of the following:
- Select Field Training → Train from the main menu.
- Right-click anywhere in the list and select Train from the shortcut menu.
- Switch to the training batch view and select Train from the shortcut menu of the document variant.
If some sample images adversely affect training but you still want to use them for testing, change their state to For testing. Make sure the regions of all fields on these images are located correctly at the time of training.
Other document-variant actions
To perform any of these actions, right-click a document variant in the training batch view and select the command from the shortcut menu.Create a new training batch
You may want to create a new training batch to train a FlexiLayout variant before operators start capturing documents.1
Create the batch
In the training batch view, right-click an empty area and select New Batch from the shortcut menu.
2
Assign a Document Definition
If your project uses more than one Document Definition, select the one to use in the Select Document Definition dialog box (right-click the batch and click Change Document Definition on the shortcut menu).
3
Choose the company
Choose the issuing company for which the training results will be used.
4
Add documents
Right-click the batch and select Load Images from the shortcut menu. The added documents are automatically recognized.
5
Check the field regions
Check whether the field regions were detected correctly and adjust them if necessary.
6
Set the image states
Select the documents to use for training, right-click one, and click Set Document State → For training.
7
Start training
Do one of the following:
- In the main window, open the Field Training menu and click Train.
- Right-click an empty area in the list and click Train on the shortcut menu.
- Open the training batch view, right-click a FlexiLayout variant, and click Train on the shortcut menu.
Recognize documents in a batch using only the Document Definition assigned to that batch.
Disable the Use own recognition settings of FlexiLayout option. This synchronizes the full-text recognition settings and speeds up document processing.
Import a custom FlexiLayout into the batch
To import a modified or completely new FlexiLayout to be used for one specific company:- In ABBYY FlexiLayout Studio, click File → Export, and in the Export FlexiLayout dialog box, specify the name of the file and the folder where it should be placed.
- In ABBYY FlexiCapture, click Train Field Extraction → Import FlexiLayout.
- If you create a new FlexiLayout manually, make sure it covers all possible document variants from the company — you cannot manually create a FlexiLayout for a single cluster.
- Only the FlexiLayout for the main document fields is exported. Line item fields use a separate machine learning algorithm whose results cannot be exported or modified, so no FlexiLayout can be generated or exported for them. You can still create a FlexiLayout for line item fields manually.
- Only the FlexiLayout trained for the first cluster is exported.
- After you import a new or modified FlexiLayout into a training batch:
- Documents are no longer trained during processing.
- Clustering is disabled for that batch.
- The imported FlexiLayout is used to process all documents from the company, regardless of cluster.
