Thursday, November 30, 2017

Textile defect detection using OpenCV | 使用OpenCv檢測紡織品瑕疵


textile defect detection
This is a sample display the result of textile defect detection via OpenCV, you can slide left/right to check image before and after.
這是一個範例,展示用OpenCV檢測紡織品瑕疵的結果,你可以在圖上左右拉動來比較前後的差別。

Get the result like that was not so hard, just tune parameters and keep patient, for confidentiality reason I can't share sample code this time.
要得到這樣的結果不難,只需要調參數跟耐心,因為保密的關係所以這次我不能分享範例程式。


Please view this demo in web version, not mobile version.

Dirty | 髒污




Oil | 油汙

Oil-org
Oil-after

Broken Yarn | 斷紗

line-crop
broken-yarn

As you see, the result better than AOI line scan but still not good/smart enough, so it still has a lot work to make it better.
如你所見,這結果比AOI的Line Scan方式來的好,但還是不夠好/聰明,所以要讓它更好還有很多事得做。





No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...