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,你可以自己試試。