If the template image, which contains the data that defines the template pattern for the matching phase, does already exist, there is no need to IMAQ (Setup) Learn Geometric Pattern VI.
The "Match Multiple Geometric Patterns Example.vi" is a good example for you.