EOCR::LearnPattern
Adds a new pattern to the font.
Namespace: Euresys::Open_eVision_2_5
[C++]
void LearnPattern(
EROIBW8* sourceImage,
OEV_UINT32 charIndex,
OEV_INT32 code,
OEV_UINT32 classes,
BOOL autoSegmentation
)
Parameters
sourceImage
Pointer to the source image/ROI.
charIndex
Index of the character (ASCII or Unicode) to learn.
code
Character code of the pattern.
classes
Class of the pattern, as defined by EOCRClass.
autoSegmentation
Boolean indicating whether the calculation of the true threshold has to be forced (default
Remarks
The pattern is selected by its index value, as assigned by the EOCR::FindAllChars process.
EOCR.LearnPattern
Adds a new pattern to the font.
Namespace: Euresys::Open_eVision_2_5
[C#]
void LearnPattern(
Euresys.Open_eVision_2_5.EROIBW8 sourceImage,
uint charIndex,
int code,
uint classes,
bool autoSegmentation
)
Parameters
sourceImage
Pointer to the source image/ROI.
charIndex
Index of the character (ASCII or Unicode) to learn.
code
Character code of the pattern.
classes
Class of the pattern, as defined by EOCRClass.
autoSegmentation
Boolean indicating whether the calculation of the true threshold has to be forced (default
Remarks
The pattern is selected by its index value, as assigned by the EOCR::FindAllChars process.
EOCR.LearnPattern
Adds a new pattern to the font.
[VB6]
void LearnPattern(
EROIBW8 sourceImage,
Long charIndex,
Long code,
Long classes,
Boolean autoSegmentation
)
Parameters
sourceImage
Pointer to the source image/ROI.
charIndex
Index of the character (ASCII or Unicode) to learn.
code
Character code of the pattern.
classes
Class of the pattern, as defined by EOCRClass.
autoSegmentation
Boolean indicating whether the calculation of the true threshold has to be forced (default
Remarks
The pattern is selected by its index value, as assigned by the EOCR::FindAllChars process.