In order to address challenges such as small target sizes, low contrast, significant intra-class variations, and indistinct inter-class differences in surface defect detection, this paper proposes the Enhanced Context-aware Parallel Fusion Network (EC-PFN). The network employs a Featur Weave Network architecture to enhance contextal awareess and parallel fusion capabilities. It utilizes a Feature Fusion Module (UniFusionLayer) for effective multiscale and multisemantic feature learning, offering new perspectives on feature fusion. Additionally, a Receptive Field Block (RFB) module is introduced to expand the receptive field, enhancing feature extraction in scenarios with low contrast and subtle defects. The Loss Ranking Module (LRM) is incorporated to optimize the target-oriented loss, improving performance by omitting low-confidence bounding boxes. Extensive experiments on a light guide plate defect dataset demonstrate that EC-PFN achieves a detection accuracy (mAP) of 98.9%, a detection speed of 92 FPS, and a computational cost of 14.5 GFLOPs, outperforming mainstream surface defect detection models.
Read full abstract