processMRZ not returning correct format

  • 1.1K Views
  • Last Post 12 September 2013
malinoto posted this 03 September 2013

In the documentation they say the responce from processMRZ method should be something like this:

LastName -> MALBORSKYI

DocumentNumber -> 755327941

.. and so on.

But I don't really get this. I receive the standart response for a processed image in rtf, xml, etc. Could someone give me more instructions on how to get this response. I would really appreciate some help!

Anastasia Galimova posted this 12 September 2013

For the MRZ processing you should use the processMRZ method. You will get an XML-file like this as a result:

<?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>

You can test the processMRZ method by clicking the corresponding button in our GUI sample: alt text

Close