Extract text from image Version 3 (Net)

Action group: Text recognition 


Description

Extract text from an image.

Action icon


Settings


PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Image objectImage requirements: - Supported file formats: jpeg, png - Maximum file size: 1 MB - Image size should not exceed 20 megapixels (length x width)Robin.ImageC:\doc\img.pngNo
Yandex API-KeyThe authorization key in the Yandex.Cloud API A description of what an authorization key is is located at: https://cloud.yandex.ru/docs/iam/concepts/authorization/api-keyRobin.String
No
Results
Extracted textExtracted text - concatenation (separated by spaces) of words that were found in the imageRobin.String

Special conditions of use

A description of what an authorization key is can be found at: https://cloud.yandex.ru/docs/iam/concepts/authorization/api-key

To get this key, you need to follow the steps below: 

  1. Go to the Yandex.Cloud website by following the link https://cloud.yandex.ru/

  2. Click the "Connect" button.


  3. Click on the "Sign in to your Yandex account" button.


  4. Log in by filling in the required fields and clicking on the "Login" button. Or register and click on the "Create ID" button


  5. Authorize by filling in all fields.


  6. Click on the "Create" button. 


  7. Click on the "Activate trial period" button.


  8. Fill in all fields and click on the "Activate" button.


  9. Click on the line with the name of the directory in which you want to create a service account.


  10. Click on the name.


  11. Select the Service Accounts tab.


  12. Click the "Create a service account" button.


  13. Enter the name of the service account, click on the "Add Role" button and select a role, for example admin. Click on the "Create" button


  14. Click on the created account.


  15. Click on the "Create a new key" button.


  16. Select "Create API key" from the list.


  17. Click on the "Create" button.


  18. Copy the secret key.


  19. Paste the copied key into the "Yandex API key" parameter

Example of use

Task

Extract text from an image. 

Solution 

Use the "Extract text from image" action. 

Implementation

  1. Move the "Extract test from image" action to the workspace. 


  2. Set the action parameters. In the Yandex API key parameter specify the key obtained on https://cloud.yandex.ru/ (the procedure for obtaining the key is specified in the "Special conditions of use" section).


  3. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. The text is extracted from the image. 

  • Нет меток