The following Matlab project contains the source code and Matlab examples used for template matching example.
For further information about the algorithm, please refer to object detection by template matching technique available in the following reference:
[1] R.