Hello, I'm working on a project where I need to find minor defects and report if it is defected.
Here are pictures of good and bad samples. Please note that these images are a result of post thresolding stage. Ie, noice removal and all pre-processing has been done. Brown outline that you see is convexHull curve for the contour (object).
Good sample
Bad sample (defect at top left corner)
Things I've tried till now.
- Histogram matching of thresolded images.
- Contour area and minAreaRect area comparing.
However, each of this method works on a particular defect but not all.
Any suggestions / tips for better results ?