Uploading Training Sets
After specifying reference fields and recognition areas of template images, you need to upload the specified training set for each template to train a template classification model when there are a large number of templates or the image formats are highly similar. In this case, the model is able to accurately classify different template images, perform OCR, and extract structured information from them.
If the number of templates is small and their formats are not much similar, you do not need to upload training sets. Click Train on the Upload Training Sets page to train the model. In this case, the algorithm directly uses template images to train and generate a classifier.
Prerequisites
You have created an application using the multi-template classification workflow and box-selected recognition areas of these templates on the OCR Suite console. For details, see Box-selecting Recognition Areas.
Adding an Existing Template
You can add a published template to the current multi-template classification workflow for model training.
- Choose Application Development > Upload Training Sets and click Add Existing Template.
The Add Existing Template dialog box is displayed.
- Select the desired template, confirm its information, and click Yes.
The newly added template is displayed on the Application Development > Upload Training Sets page.
Preparing Training Sets
You need to prepare training sets on the local host for the templates involved in the training in this multi-template classification workflow. Pack the images into a folder, compress the folder into a .zip package, and upload the package to the current workflow. The size of the .zip package cannot exceed 10 MB.
Uploading Training Sets
- Choose Application Development > Upload Training Sets. Locate the desired template and click Upload Training Sets in the Operation column.
The Upload Training Sets dialog box is displayed.
- In the Upload Training Sets dialog box, upload the prepared .zip package.
After the upload is successful, the system displays a message indicating that the file is uploaded successfully.
- After a training set is uploaded for each template, click Train.
Go to the Application Development > Evaluate page and start to train the model.
After the model training is complete, you can evaluate the classifier and template on the Application Development > Evaluate page. For details, see Evaluating an Application.
Deleting Training Sets
If an application is no longer in use, you can delete it to release resources.
Choose Application Development > Upload Training Sets, locate the desired template, and click Delete in the Operation column. In the displayed dialog box, click OK.
Last Article: Box-selecting Recognition Areas
Next Article: Evaluating an Application
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.