SimpleOCR:SDK Functions – OCRLimitCharsTo
void OCRLimitCharsTo(const char * charsToLimit)
Sets the characters that the OCR output will be limited to.
Return Value
None
Parameters
charsToLimit
string containing the characters that the OCR output will be limited to
Comments
There are default limited character sets that are defined as follows:#define LC_NUMERIC 1 only numbers
#define LC_ALPHABETIC 2 only letters
#define LC_ALPHANUMERIC 3 no punctuation
#define LC_UCASE 4 all uppercase
#define LC_LCASE 5 all lowercase
#define LC_NONNUMERIC 6 no numbers
Passing the function a string of zero length, a NULL value, or a zero will turn off the limiting of characters.