Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Defect detection on metal Object

Hello, As a part of a project, based on a reference image like this one image:alt text (acceptable object quality) I need to be able to detect possible defects on other images. These may be some big bumps on the flat surface, or broken rims/edges on the circular parts or ''teeth''.

Since I know what an acceptable state is, my first attemt was to combine edge detection and template matching on specific ROIs and not on the whole image. Though I haven't tested Haussdorf distance as mentioned on another post, using opencv's matchTemplate isn't giving so good results.

To sum up, for a 'generic' approach to such a problem, Haussdorf distance is my only hope? If this doesn't work, the next step is to examine every 'feature'(ROI, cicles or teeth) individually with something like shape signature methods, that i have read in bibliography?

Sorry for being so general but don't know how to tackle such a problem

Defect detection on metal Object

Hello, As a part of a project, I have to decide if a metal object has acceptable quality or not.

image description

So based on a reference image like this one image:alt text (acceptable object quality) I need to be able to detect possible defects on other images. These may be some big bumps on the flat surface, or broken rims/edges on the circular parts or ''teeth''.

Since I know what an acceptable state is, my first attemt was to combine edge detection and template matching on specific ROIs and not on the whole image. Though I haven't tested Haussdorf distance as mentioned on another post, using opencv's matchTemplate isn't giving so good results.

To sum up, for a 'generic' approach to such a problem, Haussdorf distance is my only hope? If this doesn't work, the next step is to examine every 'feature'(ROI, cicles or teeth) individually with something like shape signature methods, that i have read in bibliography?

Sorry for being so general but don't know how to tackle such a problem

Defect detection on metal Object

Hello, As a part of a project, I have to decide if a metal object has acceptable quality or not.

image description

So based on a reference image like this one (acceptable object quality) I need to be able to detect possible defects on other images. These may be some big bumps on the flat surface, or broken rims/edges on the circular parts or ''teeth''. For example, injured rim at the picture below

image description

Or missing parts like this

image description image description

Since I know what an acceptable state is, my first attemt was to combine edge detection and template matching on specific ROIs and not on the whole image. Though I haven't tested Haussdorf distance as mentioned on another post, using opencv's matchTemplate isn't giving so good results.

To sum up, for a 'generic' approach to such a problem, Haussdorf distance is my only hope? If this doesn't work, the next step is to examine every 'feature'(ROI, cicles or teeth) individually with something like shape signature methods, that i have read in bibliography?

Sorry for being so general but don't know how to tackle such a problem

Defect detection on metal Object

Hello, As a part of a project, I have to decide if a metal object has acceptable quality or not.

image description

So based on a reference image like this one (acceptable object quality) I need to be able to detect possible defects on other images. These may be some big bumps on the flat surface, or broken rims/edges on the circular parts or ''teeth''. For example, injured rim at the picture below

image description

Or missing parts like this

image description image description

Since I know what an acceptable state is, my first attemt was to combine edge detection and template matching on specific ROIs and not on the whole image. Though I haven't tested Haussdorf distance as mentioned on another post, post link text, using opencv's matchTemplate isn't giving so good results.

To sum up, for a 'generic' approach to such a problem, Haussdorf distance is my only hope? If this doesn't work, the next step is to examine every 'feature'(ROI, cicles or teeth) individually with something like shape signature methods, that i have read in bibliography?

Sorry for being so general but don't know how to tackle such a problem