03-03-2020 03:57 AM
Hi there,
First of all thanks a lot for reading this post and being able to help.
I have an object which is assembled by pieces.
I would like to determine if some pieces are assembled well.
For example I have this:
Orange color is the whole object.
Piece 1 is a piece that I have to determine if it is there (presence)
Screws are another pieces that I have to determine if it is there (presence).
So my questions are:
1- How can I determine if there pieces are there (means they are assembled)? Best option is to use pattern matching?
2- If the pieces are there, how can I determine if they are in the correct position (not rotate for example)?
Thank a lot.
03-03-2020 06:02 AM
Pattern Matching can be used to find the Presence of the Piece, if shape of your Piece remains same.
To Check the position use ROI to Find the Pattern Match, If its Falls under the Specified ROI then its Positioned correct.
03-03-2020 07:36 AM
Thanks a lot for replying.
For position. I can use the roi to say to pattern Matching where to find the piece, but imagine that the piece is there but it is rotated (maybe 5 degrees) so it is positioned wrong. How can I check that? Pattern matching say me the rotation?
Thanks again.
03-04-2020 12:51 AM
Try to explore on Angular pattern match.
03-04-2020 02:39 AM
Where is the Angular Pattern Match.vi? I can not find it.
Thanks!
03-04-2020 08:12 AM
Have a look for information on the Coordinate System.
https://forums.ni.com/t5/Machine-Vision/Create-Reference-Coordinate-System/td-p/3216329
Have a look in the example finder as well.
Best of luck with your project!