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.
Async Extract Text from Image
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
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
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