EOCR::ReadText

Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.

Namespace: Euresys::Open_eVision

[C++]

std::string ReadText(
   EROIBW8* sourceImage,
   int maximumNumberOfCharacters,
   OEV_UINT32 classes,
   bool autoSegmentation
)

std::string ReadText(
   EROIBW8* sourceImage,
   int maximumNumberOfCharacters,
   const std::vector<OEV_UINT32>& classes,
   bool autoSegmentation
)

Parameters

sourceImage

Pointer to the source image/ROI.

maximumNumberOfCharacters

Maximum number of characters to be read.

classes

Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character.

autoSegmentation

Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false).

Remarks

This operation can only be performed after a call to EOCR::FindAllChars.

EOCR.ReadText

Reads one or more rows of characters, i.e. finds the best match between the patterns in the font and the segmented characters.

Namespace: Euresys.Open_eVision

[C#]

string ReadText(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   int maximumNumberOfCharacters,
   uint classes,
   bool autoSegmentation
)

string ReadText(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   int maximumNumberOfCharacters,
   uint[] classes,
   bool autoSegmentation
)

Parameters

sourceImage

Pointer to the source image/ROI.

maximumNumberOfCharacters

Maximum number of characters to be read.

classes

Pointer to an array of logical masks obtained by combining the values of EOCRClass, to specify to what classes the character may belong. Each mask value in the array applies to the corresponding character.

autoSegmentation

Boolean indicating whether the calculation of the true threshold has to be forced (default true) or bypassed (false).

Remarks

This operation can only be performed after a call to EOCR::FindAllChars.