计算机与现代化 ›› 2021, Vol. 0 ›› Issue (07): 89-94.

• 图像处理 • 上一篇    下一篇

基于改进YOLOv3的车辆尾灯检测方法

  

  1. (南京理工大学计算机科学与工程学院,江苏南京210094)
  • 出版日期:2021-08-02 发布日期:2021-08-02
  • 作者简介:李龙(1995—),男,安徽萧县人,硕士研究生,研究方向:图形图像处理,E-mail: 1019131944@qq.com; 通信作者:张重阳(1977—),男,副教授,硕士生导师,研究方向:模式识别,图像处理,区块链技术,E-mail: zcy603@163.com。
  • 基金资助:
    国家重点研发计划资助项目(2017YFB1300205)

Vehicle Taillight Detection Method Based on Improved YOLOv3

  1. (School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094, China)
  • Online:2021-08-02 Published:2021-08-02

摘要: 在自动驾驶场景中,对前车尾灯的检测是一个广泛且具有研究意义的问题。Darknet53是YOLOv3的特征提取网络,其使用5个残差单元对原始图像进行特征提取并采用三尺度的特征图进行融合预测,尺寸越小对大目标的特征表达能力越强。因为尾灯检测属于小目标检测,所以本文舍去Darknet53的最后一个残差单元,同时增加小尺度特征提取残差单元的重复次数。针对K-means聚类算法存在k值难以确定以及对初始聚类中心敏感的问题,本文使用K-means+〖KG-*3〗+聚类算法获取anchor值,同时结合IOU距离度量指标。实验结果表明,改进后的YOLOv3网络上尾灯检测的准确率和检测速度都要高于改进前的,mAP由79.63%提高到89.32%,单张图片检测时间由0.014 s缩短到0.01 s。对比其他主流目标检测框架,本文改进的YOLOv3模型具有优越的检测性能。

关键词: 尾灯检测, YOLOv3, 特征提取, K-means++

Abstract: In the automatic driving scene, the detection of the front taillights is an extensive and significant problem. Darknet53 is the feature extraction network of YOLOv3. It uses five residual units to extract features from the original image, and uses three scale feature map for fusion prediction. The smaller the size is, the stronger the feature expression ability of large target is. Because taillight detection belongs to small target detection, this paper omits the last residual unit of Darknet53, and increases the repetition times of small-scale feature extraction residual unit. Aiming at the problems of K-means clustering algorithm which is difficult to determine K value and sensitive to the initial clustering center, this paper uses K-means+〖KG-*3〗+ clustering algorithm to obtain anchor value and combines IOU distance measurement index. The experimental results show that the accuracy and speed of taillight detection on the improved YOLOv3 network are higher than those before. The mAP is increased from 79.63% to 89.32%, and the detection time of single image is shorten from 0.014 s to 0.01 s. Compared with other mainstream target detection frameworks, the improved YOLOv3 model has superior detection performance.

Key words: taillight detection, YOLOv3, feature extraction, K-means++