From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Improving geometric matching

My current Vision Assistant is doing moderately well, but it can still do better. I have been using the Geometric Matching to count the number of screws in the picture, but it fails to see some screws. As illustrated here:

Capture.PNG

 

Here it works well. But then I move on to another picture:

 

Capture1.PNG

 

How can I improve it? My current settings are as following:

Capture3.PNG

 

0 Kudos
Message 1 of 3
(2,681 Views)

Hi Choisai,

 

Apologies for a late reply.

 

In the 3rd screenshot, have you edited the scale at all to see if you are able to identify the screws?

 

It may also be an idea to insert a threshold method from the greyscale tab, then use the shape matching setup from the binary tab to see if the results are any different.

 

Regards,

 

DanC12

0 Kudos
Message 2 of 3
(2,596 Views)

That worked, but it's still not 100%. If the number is less than 8 it works with just geometric in about 70% of the cases. Using the threshold it works in 90% of the cases. But I need something that recognizes better than that. I have tried using the pattern matching but that only seems to work for just one single type of screw.

0 Kudos
Message 3 of 3
(2,582 Views)