Description
This activity allows you to recognize the text using the Nanonets OCR service.
How to work with credentials
To start using this activity, you first need to enter your credentials.
The button to add new credentials.
This article describes in detail the process of adding credentials.
Parameters
API Key
Nanonets OCR requires an account in the service itself. When the account is created, generate an API key in your personal Nanonets profile and add it to the Credential Manager. If you already have an account in Studio Pro, you can select it from the drop-down list. If not, click "Add new account" and fill in the details.
In the appeared window you will see a from for creating an account:
- Service — this field can be filled in any way, it will not affect the operation of this action.
- Login — this field can be filled in any way, it will not affect the operation of this action.
- Password — here you need to specify the
API Key
.
The endpoint used in Nanonets OCR is/OCR/Model/{model_id}/LabelFile/
.
Path
Set a value - allows you to manually specify the path to the image whose text you want to recognize. Click the "Pick" button to open the file explorer and select the path to the picture.
Calculate a value - allows you to use a special formula or a special method to determine the path.
Save the previous step result - takes the result of the previous workflow activity as the path.
Model ID
Set a value - allows you to manually specify the Model ID.
Calculate a value - allows you to use a special formula or a special method to determine the Model ID.
Save the previous step result - takes the result of the previous workflow activity as the Model ID.
Comment
This parameter allows you to create an annotation to the activity. The input text will be displayed above the activity name.