EOCR::AddPatternFromImage
Adds a new pattern to the font.
Namespace: Euresys::Open_eVision
[C++]
void AddPatternFromImage(
EROIBW8* sourceImage,
int originX,
int originY,
int width,
int height,
int code,
OEV_UINT32 classes
)
Parameters
sourceImage
Pointer to the source image/ROI.
originX
Abscissa of the upper left corner of the bounding box of the pattern.
originY
Ordinate of the upper left corner of the bounding box of the pattern.
width
Width of the bounding box of the pattern.
height
Height of the bounding box of the pattern.
code
Character code of the pattern.
classes
Class of the pattern, as defined by EOCRClass.
Remarks
The pattern is extracted from an image by specifying a bounding rectangle.
EOCR.AddPatternFromImage
Adds a new pattern to the font.
Namespace: Euresys.Open_eVision
[C#]
void AddPatternFromImage(
Euresys.Open_eVision.EROIBW8 sourceImage,
int originX,
int originY,
int width,
int height,
int code,
uint classes
)
Parameters
sourceImage
Pointer to the source image/ROI.
originX
Abscissa of the upper left corner of the bounding box of the pattern.
originY
Ordinate of the upper left corner of the bounding box of the pattern.
width
Width of the bounding box of the pattern.
height
Height of the bounding box of the pattern.
code
Character code of the pattern.
classes
Class of the pattern, as defined by EOCRClass.
Remarks
The pattern is extracted from an image by specifying a bounding rectangle.