Create OCR Operation
Command property:
Synchronous command.
Command action:
Create a new XY autopositioning pattern.
Syntax:
<command name="createocr" OCRName="[String]" SearchAreaUpperLeftX="[Integer]" SearchAreaUpperLeftY="[Integer]" SearchAreaLowerRightX="[Integer]" SearchAreaLowerRightY="[Integer]" Threshold="[Integer]" CharHeight="[Integer]" CharWidth="[Integer]" />
Parameters:
Name |
Mandatory |
Description |
Format |
OCRName |
Yes |
Pattern name, used for perform the OCR operation. |
String |
SearchAreaUpperLeftX |
Yes |
Search Area Upper Left corner X Coordinate |
Integer |
SearchAreaUpperLeftY |
Yes |
Search Area Upper Left corner Y Coordinate |
Integer |
SearchAreaLowerRightX |
Yes |
Search Area Lower Right corner X Coordinate |
Integer |
SearchAreaLowerRightY |
Yes |
Search Area Lower Right corner Y Coordinate |
Integer |
Threshold |
Yes |
Threshold between char color and background color. Min = 0, Max = 255 |
Integer |
CharHeight |
Yes |
Pixel medium char height. |
Integer |
CharWidth |
Yes |
Pixel medium char width. |
Integer |
Reply:
<command valid="true" />
Command purpose:
This command is used during machine setup, to create OCR insection pattern, used during standard passport issuing.