SimpleOCR:SDK Functions – OCRSetTemplate

You are here:
< All Topics

void OCRSetTemplate(const char * theTemplate)

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

Return Value




String containing the template to use in 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.

Previous SimpleOCR:SDK Functions – OCRSetProgressHandler
Next SimpleOCR:SDK Functions – ReplaceImage
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top