The invention belongs to the technical field of image
data processing, and particularly relates to a garment quality judgment method and
system based on
image processing analysis, and the method comprises the steps: obtaining a garment image on a
conveyor belt through an industrial camera, and executing the standardized
spatial transformation through a standard
Gaussian filtering
smoothing and bilinear interpolation
algorithm; extracting a gradient variance and a periodic
texture feature mean value of a local region in the transformed image, and obtaining a texture suppression index based on a proportional relation between the gradient variance and the periodic
texture feature mean value; obtaining a local gray scale deviation absolute value and gray scale consistency, and obtaining a stress
distortion degree through algebraic saturation model mapping; calculating the product of the stress
distortion degree and the texture suppression index, and obtaining a quality deviation degree in combination with the deviation degree of the product relative to a
quality safety threshold value; and when the quality deviation degree exceeds a threshold value, automatic shutdown maintenance is realized by correcting the input frequency of the
conveyor belt driving motor. According to the invention, the sensitivity and the
automation degree of garment defect identification in an
assembly line scene are improved.