API Documents

Overview

ImageConvText provides threes functions to extract text:

  • Async Extract Text from Image: Extract text from image files like JPG, PNG, BMP, GIF and TIFF.
  • Async Extract Text from Viewport: Extract text from current frame.
  • Async Extract Text from Texture: Extract text from Texture2D asset. api_documents-01 api_documents-01

Async Extract Text from Image

api_documents-02 api_documents-02

Inputs:

  • Image Path: Picture file path. e.g. D:/test.png
  • Language Tag: Language type. e.g. en-US, zh-CN, ja, ar-SA.
  • Verbose: Whether if print verbose informations in console. It’s useful to address issue on development.

Outputs:

  • Completed Event: The asynchronous callback of task.
  • Output Text: the result text of extraction task.
  • Success: Whether if task finish successed.

Async Extract Text from Viewport

api_documents-03 api_documents-03

Inputs:

  • Language Tag: Language type. e.g. en-US, zh-CN, ja, ar-SA.
  • Verbose: Whether if print verbose informations in console. It’s useful to address issue on development.

Outputs:

  • Completed Event: The asynchronous callback of task.
  • Output Text: the result text of extraction task.
  • Success: Whether if task finish successed.

Async Extract Text from Texture

api_documents-04 api_documents-04

Inputs:

  • Texture: Texture2D asset object reference.
  • Language Tag: Language type. e.g. en-US, zh-CN, ja, ar-SA.
  • Verbose: Whether if print verbose informations in console. It’s useful to address issue on development.

Outputs:

  • Completed Event: The asynchronous callback of task.
  • Output Text: the result text of extraction task.
  • Success: Whether if task finish successed.

Email Support: hailancha9@gmail.com