In order to automatically detect garment manufacture defects
this paper researches on knitted fabric stitching manufacture inspection. A method based on Genetic Algorithms (GA) to search the optimal structuring element is presented. Morphological filtering technology processing with the optimal structuring element is used to prevent the normal fabric structure from disturbing image segmentation. A binary image representing the property of seams or manufacture defects is obtained using gray thresholding segmentation. According to the experimental results