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, 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 | 油汙

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方式來的好,但還是不夠好/聰明,所以要讓它更好還有很多事得做。





6 comments:

  1. can you share sample code, many thanks

    ReplyDelete
    Replies
    1. I will try find it and put on github.

      Delete
    2. hi @Nova, sorry for late, you can check https://github.com/died/DefectDetectionDemo for code.

      Delete
  2. Practical electrical engineering requires the testing of devices and gadgets to test the efficiency and durability of complex electrical machines and systems. fyitester.com/textile-testing-equipments/

    ReplyDelete
  3. A testing machine to test the colorfastness test of textiles. TESTEX Crock Meter

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...