SimpleOCR:SDK Functions – OCRSetTemplate
void OCRSetTemplate(const char * theTemplate)
Sets the template for use in template matching during the OCR process.
Return Value
None
Parameters
theTemplate
String containing the template to use in OCR template matching.
Comments
The templates consist of the following:# – Number
A – Letter
X – Any character
? – Optional character. – Use at end of template.
Other – Must match character
Providing a string of zero length, a NULL value, or the number zero will turn off template matching Template recognition can be increased by limiting the character set to only those characters that will appear in the strings matched by the template.