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.

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.