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.
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:
Here it works well. But then I move on to another picture:
How can I improve it? My current settings are as following:
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.
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.