rel_findg()

extern KADMOS_ERROR KADMOS_API rel_findg
(RelData *rel, int char_count, int area_width,
int char_height, int char_width);

Parameter:

rel
Pointer to a structure RelData.
char_count
Number of characters of the searched for line. A negative value means maximum number of characters.
area_width
Width of the search area in pixel.
char_height
Height of the characters in pixel.
char_width
Width of the characters in pixel.

Return value:

RE_SUCCESS or KADMOS error type.

Comment:

rel_findg() looks in the given image rel->image for the best readable text line with the given number of characters. It is especially designed for reading serial numbers from monetary bills. The measurement parameters ensure an extraordenary accuracy even in case of very noisy background (pictures).

Reference: