Recognize Version 7 (.Net)
Action group: Browsers
Description
The action allows you to recognize text in an image using ABBYY FlexiCapture web service.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Graphic file | The path to the graphic file from which you want to extract the text content | Robin.FilePath | No | |
Url to FlexiСapture web-service | Url to Flexi capture web-service for authorization | Robin.String | No | |
Login | Login for authorization on the FlexiCapture web service | Robin.String | No | |
Password | Password for authorization on the FlexiCapture web service | Robin.Password | No | |
Role ID | FlexiCapture Operator Role ID | Robin.String | No | |
Station type ID | FlexiCapture Station type ID | Robin.String | No | |
Project name or Guid | FlexiCapture project name or Guid | Robin.String | No | |
Batch type ID | FlexiCapture batch type ID | Robin.String | No | |
User or group ID | User or group ID - the owner of the batch | Robin.String | No | |
Export stage ID | Export stage ID | Robin.String | No | |
File extension | File extension to save | Robin.String | No | |
Attachments folder | Attachments folder | Robin.FolderPath | C:\doc\img | No |
Results | ||||
Result | Recognition result (key/value pairs) | Robin.Dictionary | ||
Path to result file | ath to result file of recognition | Robin.FilePath |
Special conditions of use
Pre-registration is required for the action to work https://support.abbyy.com/hc/en-us/categories/360003112019-FlexiCapture-Engine
The action can be applied when extracting data from fields (for example, passport data). As a result of the action we will get a dictionary in "key-value" format, where key - field name, value - data from the field.
The graphical document must have one of the following file formats: jpg, pdf, png, bmp, djvu, gif, jpc, pcx, pptx, tiff, xps
Specifics on filling in the parameters:
Login and Password fields - login and password from the administration and monitoring console.
Project Name or Guid field - can be viewed in the Administration and Monitoring Console on the Projects tab.
The "Connection Role ID" field - can be viewed in the developer help in the "RoleType" window.
The "Station Type ID" field - can be viewed in the Developer Help in the "WorkstationType" window.
Export Stage ID field - can be viewed in the Processing Stage Type window.
Field "Batch Type ID", "User or Group ID" - view via Abbyy database. If the search is performed for the "Batch Type ID" field, the data is in the BatchType table. If the search is performed for the "User or Group ID" field, the data is in the Principal table.
Example of use
Task
Recognize text in an image using ABBYY FlexiCapture web service.
Solution
Use the actions "Recognize".
Implementation
- Move the "Recognize" action to the workspace.
Fill in the action parameters:
- "Graphic file" parameter - specify the path to the graphic file from which you want to extract the text;
- "Url to FlexiCapture web server" parameter - specify the link to authorize on the FlexiCapture web server;
- "Login" parameter - login for authorization on the FlexiCapture web server;
- "Password" parameter - the password for authorization on the FlexiCapture web server;
- "Role ID" parameter - specify the role ID of the FlexiCapture operator;
- "Station Type ID" parameter - specify the ID of the FlexiCapture station type;
- "Project name or Guid" parameter - specify the FlexiCapture project name or ID;
- "Batch type ID" parameter - specify the FlexiCapture package type ID;
- "User or group ID" parameter - specify the owner ID of the FlexiCapture package;
- "Export Stage ID" parameter - specify the FlexiCapture export stage ID;
- "File extension" parameter - select from the drop-down list the file extension to be returned from the server. The following types are available:
xlsx;
xls;
- xml;
- json;
- csv;
- txt;
- dbf.
- "Attachments folder" parameter - specify the path to the folder where the attachment received from the server will be saved.
Example of filling in the fields:
3. Click on the "Start" button in the top panel.
Result
The program robot completed successfully
The result of the action is a dictionary with the recognition result in key-value format and the path to the file with the recognition result.