Send to recognition Version 2 (Net)
General principles of working with ROBIN OCR 1.0 are specified in the "Recognize files" action.
Description
Action sends the file to Robin OCR service with Soica for recognition.
The first action of the Send + Receive binder. Send file for recognition and Receive recognition result is divided into 2 actions for cases when the system will take a long time to process a large file submitted to the input.
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Url | Host address | Robin.String | http://localhost/administrator | Yes |
Login | Login for authorization | Robin.String | admin | Yes |
Password | Login for authorization | Robin.Password | admin | Yes |
Package class | Package class for recognition | Robin.String | Package class name | Yes |
File | Path to file for recognition. Support exstensions: JPEG, PDF, TIFF, BMP, PNG, DOCX, GIF | Robin.FilePath | C:\Users\Document\1.jpg | Yes |
Results | ||||
ID | Identificator of package | Robin.String |
Special conditions of use
You need to get the authentication data in advance from the Soica service.
The robot will return an error if:
an incorrect format is submitted in the "File" field;
incorrect login or connection password - 403;
wrong path, link - 404.
Examples of use
Task
Recognize text on a document and retain the ability to perform any other actions while the input document is being processed.
Solution
Use the actions "Send to recognition", "Get recognition result".
Implementation
- Sequentially set the actions "Send to recognition" and "Get recognition result" to the workspace.
- Set the action parameters with the correct data:
- parameters "Send to recognition";
- parameters "Get recognition result".
- parameters "Send to recognition";
- Launch the robot using the "Start" button in the top panel.
Result
The robot will return the processed files. The result is represented as a collection with json objects or xml contexts. Status "export".