Extract text from image Version 1 (Net)
Action group: Text recognition
Description
The action allows you to extract text from an image locally using Microsoft OCR
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Image | The path to the image file. Supported formats: jpg, bmp, png, tif, gif. | Robin.Image | C:\doc\img.png | Yes |
Language | Drop-down list of elements: English, Russian and English. The default value is Russian and English languages. | Robin.String | No | |
Results | ||||
Result | Text extracted from the image. | Robin.String |
Special conditions of use
If a text in Russian is input and "English" is selected in the parameters in the "Language" field, the robot will try to parse the text and return a set of characters.
The robot will return an error if:
- the "Image" field is in the wrong format.
- the required language pack is not installed.
- MS version that does not support OCR.
Windows OS must be in Russian language for correct operation. If the OS is in any other language, the language package must be installed https://support.microsoft.com/en-us/windows/language-packs-for-windows-a5094319-a92d-18de-5b53-1cfc697cfca8#WindowsVersion=Windows_10
https://www.windowscentral.com/how-properly-change-system-default-language-windows-10
The action works on versions of Windows 8.1 and above.
Example of use
Example 1
Task
Recognize text in English from an image.
Solution
Use the actions "Extract text from image" Microsoft.
Implementation
- Set the "Extract text from image" action to the workspace.
- Set the action parameters: "Image" - image file with text in Russian, "Language" - leave blank, default Russian and English languages.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The robot returned the text it had received.
Example 2
Task
Recognize text in Russian from an image.
Solution
Use the actions "Extract text from image" Microsoft.
Implementation
- Set the "Extract text from image" action to the workspace.
- Set the action parameters: "Image" - image file with text in English, "Language" - English language.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The robot returned the text it had received.