The invention relates to the technical field of
image processing, in particular to a knitted fabric defect detection method and
system based on a
projection method.The method comprises the steps that firstly, a surface image of a knitted fabric is collected, and the surface image is preprocessed into a first image; if the first image is a non-jacquard fabric image, directly taking the first image as a second image, and if the first image is a jacquard fabric image, extracting texture features by using Gabor filtering to separate high-frequency and low-frequency regions, respectively performing
diffusion processing on the high-frequency and low-frequency regions by using a PM model, and combining the high-frequency and low-frequency regions into the second image; projecting the second image in multiple directions, generating gray integral curves of different angles, calculating a first-order derivative of the gray integral curves, identifying a potential defect area through
mutation points, and locally amplifying the potential defect area into a third image; a YOLOV7 model is used for detecting defects, calculating surface defect values, collecting the content ratio, the
physical strength and the
chemical content of the fabric, calculating
score values respectively, carrying out weighted summation on the
score values and the surface defect values, generating a quality
evaluation result, and improving the detection precision of the knitted fabric through multi-dimensional characteristic analysis.