计算机工程与应用 ›› 2022, Vol. 58 ›› Issue (2): 201-207.DOI: 10.3778/j.issn.1002-8331.2008-0452

• 模式识别与人工智能 • 上一篇    下一篇

交通场景中改进SSD算法的小尺度行人检测研究

汪慧兰,戴舒,刘丹,王桂丽   

  1. 安徽师范大学 物理与电子信息学院,安徽 芜湖 241000
  • 出版日期:2022-01-15 发布日期:2022-01-18

Small-Scale Pedestrian Detection in Traffic Scenes Based on Improved SSD Algorithm

WANG Huilan, DAI Shu, LIU Dan, WANG Guili   

  1. School of Physics and Electronic Information, Anhui Normal University, Wuhu, Anhui 241000, China
  • Online:2022-01-15 Published:2022-01-18

摘要: 由于交通场景中的行人目标所处的背景环境复杂、目标较小等因素,使得目前的行人检测算法在实际应用中存在检测精度不高、检测速度较慢的问题。因此行人检测模块作为高级辅助驾驶系统的核心模块,一直以来都是目标检测的研究热点之一。针对交通场景中小尺度行人目标,将传统的SSD网络结构中的主干网络卷积层结合Inception模块中的稀疏连接来优化卷积结构,从而增强网络的特征提取能力。同时利用残差结构组成的预测模块代替传统的两个3×3大小的卷积核来进一步提取特征图的深层特征,提高对小尺度行人目标的检测精度。引入Focal Loss函数作为网络的分类损失函数,使得损失函数更加关注于包含更多有用信息的困难负样本,解决训练过程中正负样本不平衡的问题,加快网络的收敛和稳定。实验结果表明,对于交通场景中小尺度的行人目标改进的SSD算法在检测精度和速度上都有所提高。

关键词: 行人检测, SSD算法, 残差块, Focal Loss函数

Abstract: Due to the complex background environment and small-scale pedestrian target in traffic scene, pedestrian detection algorithm has the problems of low detection accuracy and slow detection speed in practical application. So as the core module of advanced driving assistance system, pedestrian detection has always been one of hot-spots of target detection. Aiming at the small-scale pedestrian targets in traffic scenes and optimizing the convolution structure, the convolution layer of the backbone network in the traditional SSD network is combined with the sparse connection of inception module, so as to enhance the feature extraction ability of the network. At the same time, to further extract the deep features of the feature map, residual structure replaces traditional 3×3 size of convolution kernels in the prediction module, which?improves detection accuracy of small-scale pedestrian targets. Finally, the Focal Loss function is?taken?as the classification loss function of network, which makes the loss function pay more attention to the difficult negative samples, solves the problem of unbalanced positive and negative samples in the training process, and accelerates the convergence and stability of the network. The experimental results show that the improved SSD algorithm can improve the detection accuracy and speed for small-scale pedestrian targets in traffic scenes.

Key words: pedestrian detection, SSD algorithm, residual block, Focal Loss function