Recognize Passport#

Document recognition for "Passport". Supported formats: .pdf, .png, .jpeg, .jpg.

File path[Text] File path. The pdf file can be multi-page.
Operation mode

Select the operation mode of the block:

  • Online - recognition via Yandex service;
  • Offline - allows recognition using offline OCR engines.
Header language

Language of the attribute headers. Possible values:

  • en - in English,
  • ru - in Russian.
ModuleSelection of the OCR module used for recognition.
Scale

[Number] Image scaling factor.

Value 1 = 100 %.

Attributes[Dictionary] Dictionary with document attributes. For example: "Passport Number", "Date of Issue", etc.
Error handling level

Select the error handling level. Possible values:

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

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

Message level

Select 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.