The invention provides a clothes defect detection method and
system based on multi-spectrum characteristic
harmonic complex, and relates to the technical field of
image detection. The method comprises the following steps: establishing a multi-spectrum characteristic
harmonic aggregation complex defect detection model and carrying out pre-training, wherein the multi-spectrum characteristic
harmonic aggregation complex defect detection model comprises a
spectral domain frequency division network, a spectrum harmonic aggregation network, a boundary spectrum
complex network and a target detection output layer; inputting a to-be-detected image in the original clothing image data into the multi-spectrum feature harmonic
congelation complex defect detection model, and
processing the to-be-detected image by using a
spectral domain frequency division network, a spectrum harmonic
congelation network and a boundary spectrum
complex network in sequence to obtain feature representation with enhanced edge
perception capability, and performing target detection and classification on the feature representation through a target detection layer, and outputting a defect detection result of the to-be-detected image. The problems that in the actual production process, the garment flaws are difficult to recognize, and the manual detection efficiency is low are solved, and efficient and accurate detection of the garment flaws under the actual
engineering application scene is achieved.