EOCR::MatchChar

Reads a single character, i.e. finds the best match between the patterns in the font and the given character.

Namespace: Euresys::Open_eVision

[C++]

void MatchChar(
   EROIBW8* sourceImage,
   OEV_UINT32 classes,
   int index,
   int shiftX,
   int shiftY
)

Parameters

sourceImage

Pointer to the source image/ROI.

classes

Logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong.

index

Character number (in range 0..NumChars-1).

shiftX

Horizontal translation applied to the character.

shiftY

Vertical translation applied to the character.

Remarks

A shift can be apply to the character. This operation can only be performed after a call to EOCR::FindAllChars.

EOCR.MatchChar

Reads a single character, i.e. finds the best match between the patterns in the font and the given character.

Namespace: Euresys.Open_eVision

[C#]

void MatchChar(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   uint classes,
   int index,
   int shiftX,
   int shiftY
)

Parameters

sourceImage

Pointer to the source image/ROI.

classes

Logical mask obtained by combining the values of EOCRClass, to specify to what classes the character may belong.

index

Character number (in range 0..NumChars-1).

shiftX

Horizontal translation applied to the character.

shiftY

Vertical translation applied to the character.

Remarks

A shift can be apply to the character. This operation can only be performed after a call to EOCR::FindAllChars.