История страницы
Create context with Robin OCR 2 Version
...
5 (Python)
Action group: Robin OCR
...
Description
The action creates a context for working with Robin OCR 2.
Action parameters
Example of an address: http://testhost:8080/api/v1/ocr/gettext/abt
The "Language" field by default - English - you need to specify the intended language of the text.
The "Protocol" field by default - http - specifies the standard describing the rules of interaction between functional blocks during data transfer.
The "Server address" field by default - 127.0.0.1 - specifies a unique identifier that allows you to determine the physical location of the server and provides the ability to connect to it through the network.
The "Port" field by default - 8080 - specifies the numeric identifier of the program or workflow that services network connections at the specified network address (IP address).
The "API Version" field by default - 1 - specifies the requested server version.
The "Function" field by default - ocr/gettext/abt - specifies the parameters that determine what action can be performed on the document.
The "Result" field - Robin OCR 2 instance.
- If the user's port 8080 is busy, another free port must be specified.
- 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.".
Settings
Parameters and their settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Language | The intended language of the text to be extracted | |||
Robin.String | No | |||
Protocol | Data transfer protocol. The default value is «http» | |||
Robin.String | No | |||
Server address | The 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 | |||
Port | The 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 Version | Server version. The default value is «1» | |||
Robin.String | No | |||
Function | Function that defines what action can be performed on the document. The default value is «ocr/gettext/abt» | |||
Robin.String | No | |||
Results | ||||
Result | Action context for working with Robin OCR | |||
Robin. | ||||
OCR |
Special conditions of use
...