• 基于YOLOv8改进的复杂场景目标检测

    Improved complex scene object detection based on YOLOv8

    • 针对目标检测任务中因光照变化、目标遮挡与姿态角度变化所带来的检测难点问题,提出了一种基于YOLOv8m的改进模型ECSC-YOLO。首先,设计EAConv模块,通过嵌入高效通道注意力机制,强化特征提取能力,抑制过曝或低光区域的干扰。其次,改进CoordAtt模块,引入下采样策略,在降低特征图尺寸的同时保持上下文语义一致性,显著提升了网络对前后重叠目标的敏感性;采用改进的SPPFCSPC_E模块替代原有SPPF模块,拓展模型感受野并提升多尺度特征聚合效果。最后,针对目标框精确定位问题,采用WIoU损失函数优化检测头,使预测结果更精确。实验结果表明:改进后的ECSC-YOLO模型在PASCAL VOC2007数据集上的平均精度达到64.8%,在复杂环境下较现有主流算法精度提升了1% ~ 3%,为目标检测任务提供了高效、可靠的解决方案。

       

      Abstract: A improved model ECSC-YOLO based on YOLOv8m is proposed to address the detection difficulties caused by changes in lighting, target occlusion, and attitude angle in object detection tasks. Firstly, design the EAConv module to enhance feature extraction capability and suppress interference from overexposed or low light areas by embedding an efficient channel attention mechanism. Secondly, the CoordAtt module is improved by introducing a downsampling strategy for the first time, which reduces the size of the feature map while maintaining contextual semantic consistency, significantly enhancing the network’s sensitivity to overlapping targets before and after. Replace the original SPPF module with an improved SPPFCSPC-E module to expand the model receptive field and enhance the multi-scale feature aggregation effect. Finally, to address the issue of precise positioning of the target box, the WIoU loss function is used to optimize the detection head, resulting in more accurate prediction results. The experimental results show that the improved ECSC-YOLO model achieves an average accuracy of 64.8% on the PASCAL VOC2007 dataset, and improves accuracy by 1% ~ 3% compared to existing mainstream algorithms in complex environments, providing an efficient and reliable solution for object detection tasks.

       

    /

    返回文章
    返回