Documentation Portal      

What are you looking for?

EOCR::ReadTextWide

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_2_5

[C++]

std::wstring ReadTextWide(
   EROIBW8* sourceImage,
   OEV_INT32 maximumNumberOfCharacters,
   OEV_UINT32 classes,
   BOOL autoSegmentation
)

std::wstring ReadTextWide(
   EROIBW8* sourceImage,
   OEV_INT32 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. In case the text contains character with a code > 65535, ReadTextWide will throw an exception. In this case, you should read the text character by character by using EOCR::GetFirstCharCode.

EOCR.ReadTextWide

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_2_5

[C#]

string ReadTextWide(
   Euresys.Open_eVision_2_5.EROIBW8 sourceImage,
   int maximumNumberOfCharacters,
   uint classes,
   bool autoSegmentation
)

string ReadTextWide(
   Euresys.Open_eVision_2_5.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. In case the text contains character with a code > 65535, ReadTextWide will throw an exception. In this case, you should read the text character by character by using EOCR::GetFirstCharCode.

EOCR.ReadTextWide

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

[VB6]

String ReadTextWide(
   EROIBW8 sourceImage,
   Long maximumNumberOfCharacters,
   Long classes,
   Boolean autoSegmentation
)

String ReadTextWide(
   EROIBW8 sourceImage,
   Long maximumNumberOfCharacters,
   ()Long classes,
   Boolean 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. In case the text contains character with a code > 65535, ReadTextWide will throw an exception. In this case, you should read the text character by character by using EOCR::GetFirstCharCode.

Which API shall we display?

© 2018 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.5.1.1107