10-31-2014 11:50 AM
Hello,
learn/create three different templates (the same way you already did for a single template).
When matching just loop through the template array using a for loop (see the attached example).
Best regards,
K
11-10-2014 03:00 AM
Hello,
First of all, I would like to Thank You for giving me such a quick and favorable replies. I succeed in making a VI using one template ,that can match one or more nuts which I place in front of my camera.
Now My next aim is "object sorting" . In that ,I have to sort nuts of a particular size ,If I place nuts of different size and shape and other objects in front of my camera.
Please give me suggestions to move forward in this task.
11-10-2014 02:32 PM
Hello,
if you select 'scale' under the match options, what do you observe under the scale output after the objects are detected? Do you notice any significant difference between the smaller and larger parts? Could your sorting be based on this?
You could also measure the distance(s) from the center of each match to the outer (inner?) edge of the nut.
Or, with proper lighting you could fit circle to the nut (Hough transform for example).
There are other possibilities
The most important thing is to enforce some constraints - no algorithm is perfect and therefore will not be efficient in all scenarios. So you need to establish a good measuring setup to enhance those features you want to base your measurements upon.
Also, do you think the distortion correction would benefit your measurements? I would first correct the nonlinear distortion (depends on your lense errors) and also use plane to plane hompography to correct the perspective distortion. After each new setup, this would take you only a couple of minutes to recalibrate.
Best regards,
K
12-02-2014 05:06 AM
Hello ,
I have to match multilple geometric pattern which includes nut, bolt, clamp, washer and plate . I made their templates in feature based geometric matching using NI Template editor . I also made a VI related to it by the help of " Match Multiple Geometric Pattern.vi" which is in examples of LabVIEW 2012.
But the problem is- it doesnot shows any respected matches . I am attaching my templates and respected vi.
Please suggest me valuable solutions regarding the same.
Thanks
01-01-2019 01:37 AM
It throws me error when i run your VI.Can you share your template?