Skip to Main Content
A new detection method for the non-destructive test of fabric defects based on machine vision is proposed in this study. In the proposed method, (a) the raw image is pre-processed by figuring the contrast and intensity to a proper level, (b) candidate regions are detected using the HSI color model and dynamic binarization, (c) the characteristic line of the target is obtained by the gray weighted centroid algorithm and (d) the quality of the product is judged by the number of valid pixel in the candidate region and the separation angle calculated from the characteristic line. Taking the detection of diaper as an example, an automatic detection system is built with an industrial camera. The position of diaper elastic waist and angle of the waist label, which are the two major parameters in the test of diaper quality, are examined based on the proposed method. Experimental results indicate that this method can be applied efficiently and effectively while resolving the problem of relative weak illumination and low contrast, bringing down noises caused by wrinkle and stain, and achieving a stable online inspection.