Subsections of Fude Workshop

Subsections of ImageConvText

Quick Start

Extract Text From Image File

Run game in level ImageConvtext Content/Demo/Maps/Map01_Image: quick_start-01 quick_start-01

This level will open widget ImageConvtext Content/Demo/Widgets/UW_ExtractText_Image on BeginPlay(): quick_start-02 quick_start-02

Then add node Get Platform Language Tags in Construct Event fo this widget to fill ComboBox: quick_start-03 quick_start-03

Invoke function Get File from System Dialog on butten event to select image file: quick_start-04 quick_start-04

At last, invoke Async Extract Text from Image to perform text extraction: quick_start-05 quick_start-05

Extract Text From Viewport

Run game in level ImageConvtext Content/Demo/Maps/Map02_Viewport: quick_start-06 quick_start-06

This level will open widget ImageConvtext Content/Demo/Widgets/UW_ExtractText_Viewport on BeginPlay(): quick_start-07 quick_start-07

Then add node Get Platform Language Tags in Construct Event fo this widget to fill ComboBox: quick_start-08 quick_start-08

At last, invoke Async Extract Text from Viewport to perform text extraction: quick_start-09 quick_start-09

Extract Text From Texture2D

Run game in level ImageConvtext Content/Demo/Maps/Map03_Texture2D: quick_start-10 quick_start-10

This level will open widget ImageConvtext Content/Demo/Widgets/UW_ExtractText_Texture2D on BeginPlay(): quick_start-11 quick_start-11

Then add node Get Platform Language Tags in Construct Event fo this widget to fill ComboBox: quick_start-12 quick_start-12

At last, invoke Async Extract Text from Texture to perform text extraction: quick_start-13 quick_start-13


Email Support: hailancha9@gmail.com

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

Install Languages

Install Language Package

ImageConvText use the system language package to extract text, so must install target language on Windows 10 or Windows 11.

Caution
  • ImageConvText only support Windows 10 and Windows 11. Mac & Linux not supported.
  1. Windows -> Settings -> Time & language -> Language & region: install_languages-01 install_languages-01

  2. Click Add a language: install_languages-02 install_languages-02

  3. Search target language: install_languages-03 install_languages-03

  4. Click Install: install_languages-04 install_languages-04
    install_languages-04 install_languages-04

  5. After installation finished, then you can use function Get Platform Language Tags to list all installed languages. install_languages-04 install_languages-04
    install_languages-04 install_languages-04


Email Support: hailancha9@gmail.com

About

Fude Workshop

Fude Workshop is a team focusing on the research and development of game industry tools.

Email Support: hailancha9@gmail.com