SimpleOCR:SDK Functions – OCRLimitCharsTo

You are here:
< All Topics

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.

Previous SimpleOCR:SDK Functions – OCR
Next SimpleOCR:SDK Functions – OCROnArea
Table of Contents
Contact Us for FREE Consultation on Your OCR Project

Share This Story, Choose Your Platform!

OCR Guide
Brands
Compare most popular choices in one cozy and extensive table
Languages
Applications
Go to Top