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.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to understand the orientation of an electrolytic capacitor on a pcb board.

Good day to all. I must develop an application that check the orientation (+ and -) of an electrolytic capacitor. I tryed with pattern matching but the results are poor. I need some hint on how to proceed.

Thank you in advance, Francesco.

0 Kudos
Message 1 of 3
(4,382 Views)

Hello,

 

can you perhaps share an image of the capacitor? Are they the same on all PCB's?

Is it positioned cathode up or down? How good is the PCB positioning repeatability? Does it rotate, scale, etc... (is it machine guided or do you place it manually)? Is the camera fixed? Are there significant illumination changes?

 

The first step is to introduce some constraints. Your question is very loose.  No algorithm will perform roboustly in very different conditions (up to some extent, yes).

 

Leaving all above aside, my advice is to first roughly localize the part (determine the region of interest) and then perform refined detection/classification of your part (or features on your part).

 

Best reagards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 3
(4,379 Views)

I haven't, at this time, the pcb board so i try to understand what to do first. I think that i can consider the pcb position fixed and same for the ROIs. The capacitor may be of different type so i need to make a software that can run anywhere, maybe after the definition of a new template and new ROIs.

0 Kudos
Message 3 of 3
(4,376 Views)