06-21-2013 03:19 AM
Hi
I have corrected the input path of my pattern png file and now I have the following error.
Error - 1074395247 occurred at IMAQ Match Pattern 3
Possible reasons:
IMAQ Vision: Invalid template descriptor
06-21-2013 07:55 AM
Well,
You get this error because you probably provide an invalid template file.
you have to know that the template is a special image file.
It is in fact a png file that contains also some informations used by the matching function.
You have 3 options to get a valid template png file :
06-26-2013 01:32 AM
Hi
I don't think so. The template file is correct.
06-28-2013 02:34 AM
Hi
This is my new code. There is no errors now but the number of matches is always 0. I would like to mark the matches somehow (with red rectangle par example) but till the moment I have no success.
Please help me.
07-01-2013 10:40 PM
Look at the pattern matching examples that load a template. There are one or two steps for loading the template, which is usually done one time outside the loop. There is also a step for setting up the pattern matching, if I remember correctly. Inside the loop, you use the acquired image and template image to do the actual search.
Bruce