04-15-2013 11:16 PM
Hello,
I am trying to do pattern matching on real time acquired images.
I have 10 template images which i saved in a folder. My acquired images are now sent for pattern matching with these templates. But I encountered the problems that the output of "matches" is zero always. I do not understand why the pattern is not matched.
Run the program object tracking vi
select "snap", select the ROI, select the folder to save the template created and press "learn". Now select "match" to start pattern matching.
Can anybody help to fix it.
Thank you.
04-16-2013 09:10 AM
Without looking on any files of your attachment, i just want to note that matching in vision applications is not trivial.
The most important parameter for this is the acquisition of the image. Are you sure that brightness, intensity and focus is 100% identical for all images you acquire?
Is color involved? (Could answer that by looking in your attachment i guess, but you should state it explicitely as well)...
Norbert
04-16-2013 11:55 PM
Thank you for your response.
To check my program i captured an image and saved it as a template. Now the same image which i saved as template, i gave as input image by selecting image from folder instead of real time acquired image.
When the input image and template are same the "match pattern 2" should give "No of matches" as "1". But it is giving "0".
Please run the vi "Main". Select the folder "images" for templates and select any one of the image from the same folder at "Main image path" to check for pattern match.