EOCR::AddPatternFromImage
Adds a new pattern to the font.
Namespace: Euresys::Open_eVision_2_5
[C++]
void AddPatternFromImage(
EROIBW8* sourceImage,
OEV_INT32 originX,
OEV_INT32 originY,
OEV_INT32 width,
OEV_INT32 height,
OEV_INT32 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_2_5
[C#]
void AddPatternFromImage(
Euresys.Open_eVision_2_5.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.
EOCR.AddPatternFromImage
Adds a new pattern to the font.
[VB6]
void AddPatternFromImage(
EROIBW8 sourceImage,
Long originX,
Long originY,
Long width,
Long height,
Long code,
Long 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.