Abstract

A method for fabric defect detection based on OpenCV with rich computer vision and image processing algorithms and functions is presented. Firstly, OpenCV image processing functions implement fabric image preprocessing. We use morphological opening and closing operations to segment image because of their blur defects. Secondly, “seed filling” algorithm is applied to connect broke lines to keep defect edge smoothing. Finally, the edge detection function is to complete accurate positioning defects. Experimental results under Borland C++ Builder 6.0 show that OpenCV based fabric defect detection methods are simple, high code integration, accurate defects positioning, which can be applied to develop real-time fabric defect detection system.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call