Command property:


Synchronous command.



Command action:


Perform a OCR recognition operation.


Syntax:


<command name="ocr" OCRName="[String]" />


Parameters:

Name

Mandatory

Description

Format

OCRName

Yes

OCR Pattern name, set during pattern creation

String



Reply:


<command valid="true" OCR="[String]" />


OCR fail:


If the OCR recognition fails, the system reply with:


<command valid="false" error="OCR failed" />



Command purpose:


This command is used during standard issuing, to read a string engraved or pre-printed in a passport.