Introduction

Workflow Overview

  • Functions

    This workflow allows you to customize multiple character recognition templates, which are automatically identified and used by images through model training and from which structured information is extracted. This workflow is generally applied into the logistics industry.

  • Application scenarios
    • User authentication

      Recognition of key information on certificates, reducing manual input and real-name authentication costs, while improving efficiency and accuracy

    • Express waybill filling

      Recognition of contact information in screenshots and automatic generation of express waybills, eliminating the need for manual input

    • Contract upload and review

      Recognition of structured information and extraction of signatures and seals for quick review

  • Advantages
    • Business efficiency is improved after no manual input and multi-language competency required.
    • One-click deployment enables quick output of high-precision structured data.
    • Multiple templates can be customized to quickly match new formats, resolving problems of complex and varied formats and multiple languages.
    • Structured information can be extracted from images in different formats.

Workflow Process

After creating an application using the multi-template classification workflow on the ModelArts Pro > OCR Suite page, you can create a multi-template service and multiple templates to train a classification and OCR model, which extract structured information from images with different templates.

Figure 1 Process for developing a multi-template application
Table 1 Process description

Step

Description

Reference

Upload a template image.

Upload images as templates for training an OCR model.

Uploading Template Images

Preprocess the template.

Preprocess the template. Retain the key content and remove the redundant part to ensure that the image content is clear and the model recognition is accurate.

Preprocessing Templates

Box-select reference fields.

Box-select reference fields in the template to check the consistency between images to be identified and the template.

Box-selecting Reference Fields

Box-select recognition areas.

Box-select recognition areas in the template to determine the position of the text to be identified.

Box-selecting Recognition Areas

Upload training sets.

Upload a training set to train a template classification model, which accurately classifies different template images, performs OCR, and extracts structured information from them.

Uploading Training Sets

Evaluate an application.

Upload test images and evaluate the classification and OCR results online to ensure that the model can correctly classify test images in the case of multiple templates and recognize text in recognition areas of test images.

Evaluating an Application

Deploy an application.

Deploy the template to OCR Suite and develop your own OCR application. You can use this application to recognize images with the same formats as the templates you uploaded.

Deploying an Application