Get recognition result Version 2 (Net)

The general principles of working with ROBIN OCR 1.0 are specified in the "Recognize" action.


Description

The action receives the result of the packet ID recognition from the SOICA service.

The second action is from 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 of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
UrlHost addressRobin.String
Yes
LoginLogin for authorizationRobin.String
Yes
PasswordLogin for authorizationRobin.Password
Yes
IDIdentificator of packageRobin.String
Yes
Result type

Format of result data


Dropdown list of elements: XML, JSON

Default value: XML

Robin.String
No
Recognition profile

Profile for recognition


Profiles are created in SOIKA itself and the user knows in advance which one to choose. The default value is set by the system when creating a package class and is called default

Robin.String
No
Results
StatusStatus of packageRobin.String

ResultA collection of json objects or xml-contexts containing recognized data. If the document recognition is still in workflow, the result is not populatedRobin.Collection

Special conditions of use

You must launch the "Send to recognition" action before the "Get recognition result" action.

To get the result, the file must be recognized by the system and set to "export" status. If the robot received any status other than "export" when checking the document status, the robot will return the received document status and an empty recognition result file.

The robot will return an error if:

  1. wrong path, link - 404;

  2. invalid login or password for connection - 403;

  3. the selected processing script is not suitable - 401;

  4. internal server error - 500;

  5. personal data and document ID do not belong to the same user.

The robot will NOT return an error if:

  • no text found on the image;

  • text is not recognized on the image;

  • statuses "quality control", "validation", which must be changed manually => call rest api for moving to another module or open package on validation, correct errors and send it for export.

In all these cases, the robot will return an empty file recognition result.

If the text language configured in the algorithm is specified incorrectly, the result will probably be a non-empty string, matching characters from the alphabet.

Examples of use

Task

Recognize the text on the 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

  1. Sequentially set the actions "Send to recognition" and "Get recognition result" on the workspace.
  2. Set the action parameters with the correct data:
    1. parameters for "Send to recognition" action

    2. parameters for "Get recognition result" action. 
  3. 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".

  • Нет меток