How Can We Help?

SimpleOCR:SDK Functions – OCRSetTemplate

You are here:
< All Topics

void OCRSetTemplate(const char * theTemplate)

Sets the template for use in template matching during the OCR process.

Return Value




String containing the template to use in OCR template matching.


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.

Contact Us for FREE Consultation on Your OCR Project
Table of Contents


Go to Top