The invention discloses a defect identification method and
system based on an efficient multi-path
feature fusion network, relates to the technical field of cloth defect detection, and solves the problems that deep-layer, shallow-layer, large-scale and small-scale feature information cannot be effectively fused in the prior art, and an existing model is high in calculation complexity and large in
model parameter quantity. The method comprises the steps that a cloth flaw
data set is constructed, an improved YOLOv5s model is constructed, and model training is carried out, and the improvement content comprises the steps that GFPN is fused into a Neck network of YOLOv5s, cross-scale connection
layers between interval levels and cross-layer jump connection
layers between the same scales are introduced into a
backbone network, in the Neck network, C3Ghost lightweight
feature fusion nodes are adopted, and the cross-scale jump connection
layers between the interval levels and the cross-scale jump connection layers between the interval levels are fused into the
backbone network. According to the method, the deep feature map is subjected to up-sampling by adopting a Dysample method, deep and shallow feature information and large-scale and small-scale feature information are effectively fused, the performance of a YOLOv5s model in multi-scale and multi-proportion target detection is improved, and meanwhile, calculation parameters and complexity of the model are reduced.