EOCR::ReadTextWide

This method is deprecated.

DEPRECATED: Use the EOCR::ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters. 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::wstring ReadTextWide(
   EROIBW8* sourceImage,
   int maximumNumberOfCharacters,
   OEV_UINT32 classes,
   bool autoSegmentation
)

std::wstring ReadTextWide(
   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.ReadTextWide

This method is deprecated.

DEPRECATED: Use the EOCR::ReadText method instead as it performs similarly to this method, except it returns UTF-8 instead of wide characters. 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 ReadTextWide(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   int maximumNumberOfCharacters,
   uint classes,
   bool autoSegmentation
)

string ReadTextWide(
   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.