To find defects in the rubber ring / gasket

Discussion related to "under the hood" OpenMV topics.
bennyedward
Posts: 17
Joined: Tue Dec 05, 2017 2:52 am

To find defects in the rubber ring / gasket

Postby bennyedward » Fri Dec 22, 2017 5:30 am

Hi,
We make the components A and B as shown in figures 1 and 4.
Our quality inspection found 2 defects in each component, i.e "no cut" and "non-uniform width" as shown in Figures 2, 3 and 5 (no photos for no cut defect in component B).
Can you advise how to use OpenMV to find these defects?
Thank you.
Attachments
q_ab.PNG
q_ab.PNG (294.8 KiB) Viewed 223 times
User avatar
kwagyeman
Posts: 1747
Joined: Sun May 24, 2015 2:10 pm

Re: To find defects in the rubber ring / gasket

Postby kwagyeman » Fri Dec 22, 2017 12:10 pm

Hi, assuming you line up the part and the camera perfectly and provide really great even lighting then this isn't so hard.

To determine if you see the hole or not you can just call get_stats() on a region of interest where the hole should be and you'll either get stats about the table the part is on or the part itself. You then just threshold on the value and you're good.

As for the size of the part... You can use find_circles() to find the center of the circular area. If it's not where you expect it to be then the part is not perfect. You should compare the center points of the inner and outer diameter.
Nyamekye,
bennyedward
Posts: 17
Joined: Tue Dec 05, 2017 2:52 am

Re: To find defects in the rubber ring / gasket

Postby bennyedward » Tue Dec 26, 2017 9:27 pm

Hi,
Thank you very much for your guidance.
I will try it.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests