Yandex Vision OCR#

Recognition of Yandex Vision OCR.

File path[Text] File path. Supported formats are JPEG, PNG, PDF.
Page number

[Number/Text] Page number in a multi-page PDF file. You can specify a string with page numbers separated by commas.

It also supports specifying a range with a dash. For example: "1, 4-7".

Model

Recognition model. Values:

  • page - suitable for images with any number of lines of text laid out in a single column;
  • table - for recognizing tables in Russian and English.
Text languageSelection of the text language.
Result

[Object/List of objects] Returns the recognition result. If an image is specified or the PDF file consists of a single page, the block will return only one object; otherwise, a list of objects is returned.

To work with objects, use the console and the dot + Ctrl+Space combination to get available properties.

Error handling level

Selection of the error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message level

Selection of the message level that the blocks will output during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.