
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, I had put my code on Github - Defect Detection Demo, you can test it by yourself.
要得到這樣的結果不難,只需要調參數跟耐心,我已經把程式放到。Github上的Defect Detection Demo,你可以自己試試。
Please view this demo in web version, not mobile version.
Dirty | 髒污


Oil | 油汙


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方式來的好,但還是不夠好/聰明,所以要讓它更好還有很多事得做。
can you share sample code, many thanks
ReplyDeleteI will try find it and put on github.
Deletehi @Nova, sorry for late, you can check https://github.com/died/DefectDetectionDemo for code.
Deletemy email: [email protected]
ReplyDelete