Uploading a Template Image

Before using the single-template workflow to create an application, you need to specify an image as the template for training an OCR model based on your needs. For example, if an invoice image is uploaded as a template, the trained OCR model can identify and extract key fields from invoices in the same format.

Prerequisites

  • You have obtained related permissions of ModelArts and OBS.
  • You have created an application using the general single-template workflow on the OCR Suite console. For details, see Creating an Application.

Accessing the Application Development Page

  1. Log in to the ModelArts Pro > OCR Suite console.

    The AppDev > Workbench page is displayed by default.

  2. On the My Applications page, locate the desired application and click View in the Operation column.

    Go to the Application Assets page.

  3. Click Create Template on the Templates page.

    Go to the Application Development page and start to develop an application.

Uploading a Template Image

Choose Application Development > Upload Images and configure the following parameters:

Figure 1 Uploading a template image

Template Name: Enter a template name.

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.

After confirming configurations, click Next. Step Preprocessing the Template is displayed. Preprocess the uploaded template image, such as automatically rotating the image and removing the seal.