Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect Presence of Jumper Connector

Hi all,

I need to detect Presence of Jumper Connector using NI Vision Builder. I tried a straight forward method "Pattern Match" to detect Presence of Jumper Connector. The problem is, "Pattern Match" step only found 1 instead of all Jumper Connector on the board.

Any suggestions how to approach this challenge? This seems to be a tricky one.

 Untitled.png

Any help would be appreciated.

0 Kudos
Message 1 of 2
(2,208 Views)

As is, this is a difficult problem.

 

I would start with better lighting.  The glare on the board makes it difficult to see.  Put one light on either side of the board instead of one directly overhead.

 

I would also zoom in, unless you need to see the entire board.  More detail always makes these jobs easier.

 

I would try to position the camera at an angle to the board instead of directly overhead.  This way you could see the pins.  I would position it so all the pins are visible, if possible.  You would need to pick a direction where the presence of a jumper doesn't block the view of other pins.  That might not be possible.

 

Instead of pattern matching, I would inspect all the areas the jumper can be.  If you check each pin, you would be able to tell if it is bright or dark. Perhaps you could check for the presence of the metal part of the jumper between pins.  You need something that will give you a high contrast result, where one result is dark and the other is bright.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(2,188 Views)