Deploying an Application

You can deploy an application to OCR Suite after evaluation and develop your own OCR application. You can use this application to identify which template the image you upload belongs to and recognize text on the image.

Prerequisites

You have created an application using the multi-template classification workflow and evaluated the template on the OCR Suite console. For details, see Evaluating an Application.

Procedure

After completing template evaluation on the Application Development > Evaluate page, click Next to go to the Deploy page to publish the template. A message indicating Published successfully. is displayed.

Figure 1 Deploying a template

After the template is published, you can perform the following operations on the Application Development > Deploy page:

Evaluate: Click Evaluate to go to the Evaluate page and upload more test images to evaluate the template.

Edit: Click Edit to return to the Application Development > Upload Images page and create another template.

Back to Templates: Click Back to Templates to return to the Templates page.

API Calling and SDK Calling: In the Calling Guide area of the lower part of the page, you can directly call APIs or SDKs to easily invoke the current template service.

Calling APIs and SDKs

On the Application Development > Deploy page, the Calling Guide area contains API Calling and SDK Calling pages in the lower part. You can invoke the current template service by calling APIs or SDKs.

  • Calling APIs

    The service automatically generates an API URI. You can click Copy on the right of the URI to copy the URI and invoke the current template service. For details, see OCR API Reference.

  • Calling SDKs

    OCR Suite provides a software development kit (SDK) that encapsulates the REST APIs of OCR.

    Multiple SDK tool packages are offered, such as Java SDK, Python SDK, iOS SDK, Android SDK, and Node.js SDK. You can download the required SDK to invoke the template service.

    For details, see OCR SDK Reference.