Command property:


Synchronous command.



Command action:


Create a new OCR pattern.


Syntax:


<command name="createocr" OCRName="[String]" SearchAreaUpperLeftX="[Integer]" SearchAreaUpperLeftY="[Integer]" SearchAreaLowerRightX="[Integer]" SearchAreaLowerRightY="[Integer]" Threshold="[Integer]" CharHeight="[Integer]" CharWidth="[Integer]" Font="[String]" />


Parameters:

Name

Mandatory

Description

Format

Standard value

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

----------

Font

Yes

Select the Font of the reading string. The font database must be installed in the system.

String

----------

Windowing

No

Enable the windowing algorithm.

Boolean

False

MinWindowingValue

No

Set the minimum value for the windowing algorithm

Integer

50

MaxWindowingValue

No

Set the maximum value for the windowing algorithm

Integer

170



Reply:


<command valid="true" />



Command purpose:


This command is used during machine setup, to create XY autopositioning pattern, used during standard card issuing.