EOCR::LearnPattern
Adds a new pattern to the font.
Namespace: Euresys::Open_eVision
[C++]
void LearnPattern(
EROIBW8* sourceImage,
uint32_t charIndex,
int32_t code,
uint32_t classes,
bool autoSegmentation
)
void LearnPattern(
EROIBW8* sourceImage,
uint32_t charIndex,
int32_t code,
uint32_t classes
)
void LearnPattern(
EROIBW8* sourceImage,
uint32_t charIndex,
int32_t code
)
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 true) or bypassed (false).
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
[C#]
void LearnPattern(
EROIBW8 sourceImage,
uint charIndex,
int code,
uint classes,
bool autoSegmentation
)
void LearnPattern(
EROIBW8 sourceImage,
uint charIndex,
int code,
uint classes
)
void LearnPattern(
EROIBW8 sourceImage,
uint charIndex,
int code
)
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 true) or bypassed (false).
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.
Module: open_evision
[Python]
LearnPattern(
sourceImage: EROIBW8
charIndex: int
code: int
classes: int
autoSegmentation: bool
) -> None
LearnPattern(
sourceImage: EROIBW8
charIndex: int
code: int
classes: int
) -> None
LearnPattern(
sourceImage: EROIBW8
charIndex: int
code: int
) -> None
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 true) or bypassed (false).
Remarks
The pattern is selected by its index value, as assigned by the EOCR.FindAllChars process.