Uploading Template Images
Before using the multi-template classification workflow to create an application, you need to specify images as the template for training an OCR model based on your needs. For example, if two invoice images in different formats are uploaded as templates, the trained OCR model can identify and extract key fields from invoices in the two formats.
Prerequisites
- You have obtained related permissions of ModelArts and OBS.
- You have created an application using the multi-template classification workflow on the OCR Suite console. For details, see Creating an Application.
Accessing the Application Development Page
- Log in to the ModelArts Pro > OCR Suite console.
The AppDev > Workbench page is displayed by default.
- On the My Applications page, locate the desired application and click View in the Operation column.
Go to the Application Assets page.
- Click Create Classifier in the upper left corner.
Go to the Application Development page and start to develop an application.
Uploading Template Images
Choose Application Development > Upload Images and configure the following parameters:
- Basic Information
Specify Name and Description of a multi-template classifier.
- Template Configuration
Click
to add multiple templates, select a template type for each template, and upload images.Template Type: Select a template type. The options are Document, General, and Ticket and certificate.
Upload Image: Click the image upload area or drag an image to the image upload area to upload a local image as a template used for recognizing structured information from images.
Change Template Name: Click
on the right of the image, enter a new template name in the text box, and click Yes.Delete Template: Click Delete on the right of the image. In the dialog box that is displayed, click OK.
After confirming configurations, click Next. Step Preprocessing Templates is displayed. You can preprocess the uploaded template image, such as automatically rotating the image and removing the seal.
Last Article: Introduction
Next Article: Preprocessing Templates
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.