class Abbyy::Models::ProcessMRZResponse

Overview

Response object for /processMRZ API-method.

###Output file format

The output XML file has the following format:

<?xml version="1.0" encoding="utf-8"?>
<document type="mrz" xmlns="http://ocrsdk.com/schema/captureData-1.0.xsd">
  <field type="LastName">
    <value>MALBORSKYI</value>
  </field>
  <field type="DocumentNumber">
    <value>755327941</value>
  </field>
   ...

</document>

If the output file contains empty tag no MRZ was found on the recognized image.

See the XSD schema of an output file.

###Possible field types of the machine-readable zone

P<RUSMALBORSKYI<<KOVBOJ<<<<<<<<<<<<<<<<<<<<<
7553279419RUS8712242M2104131<<<<<<<<<<<<<<02

For more information on MRZ standard see Wikipedia.

Defined in:

abbyy/models/process_mrz_response.cr

Instance methods inherited from class Abbyy::Models::TaskResponse

set_properties_from_xml(xml_data : String | IO) set_properties_from_xml, task : Task | Nil task, task=(task : Task | Nil) task=

Instance methods inherited from class Abbyy::Models::BaseResponse

headers : HTTP::Headers headers, headers=(headers : HTTP::Headers) headers=, protocol_version : String | Nil protocol_version, protocol_version=(protocol_version : String | Nil) protocol_version=, set_properties_from_xml(xml_data : String | IO) set_properties_from_xml, status_code : Int32 status_code, status_code=(status_code : Int32) status_code=, success? success?

Constructor methods inherited from class Abbyy::Models::BaseResponse

new(response : HTTP::Client::Response) new