Create context with Robin OCR 2 Version 5 (Python)

Action group: Robin OCR


Description

The action creates a context for working with actions in the "ROBIN" subgroup.

 Action icon

Parameters and their settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
LanguageThe intended language of the text to be extractedRobin.String
No
ProtocolData transfer protocol. The default value is «http»Robin.String
No
Server addressThe name or IP address of the device on which the recognition system is installed. The default value is «127.0.0.1»Robin.String
No
PortThe port for the server. Filled in by the user only if port 8080 is occupied by another server. The default value is «8080»Robin.Numeric
No
API VersionServer version. The default value is «1»Robin.String
No
FunctionFunction that defines what action can be performed on the document. The default value is «ocr/gettext/abt»Robin.String
No
Results
ResultAction context for working with Robin OCRRobin.OCR

Special conditions of use

  1. If the user's port 8080 is busy, another free port must be specified.
  2. At the moment only one function - ocr/gettext/abt (Array of text with coordinates) and one server version are implemented.

The action will generate an error if you cannot connect to a server with a runtime system with the specified parameter values. Error description: "Incorrect data are specified for connecting to the server of the recognition system and working with it".

Example of use

Task

Recognize license plate number from the image 

Solution

Use the actions "Create context with Robin OCR 2 ", "Extract text from file". 

Implementation

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters of the "Create context with Robin OCR 2 " action. 
  3. Set the parameters of the "Extract text from file" action. 
  4. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. 


The file with overlaid blocks is saved to the specified folder. 


  • Нет меток