《计算机应用》唯一官方网站 ›› 2022, Vol. 42 ›› Issue (9): 2876-2884.DOI: 10.11772/j.issn.1001-9081.2021071305

• 多媒体计算与计算机仿真 • 上一篇    

基于YOLOv5的雾霾天气下交通标志识别模型

尹靖涵1,2, 瞿绍军1,2(), 姚泽楷1,2, 胡玄烨1,2, 秦晓雨1,2, 华璞靖1,2   

  1. 1.湖南师范大学 信息科学与工程学院,长沙 410081
    2.湖南师范大学 湘江人工智能学院,长沙 410081
  • 收稿日期:2021-07-19 修回日期:2021-09-03 接受日期:2021-09-14 发布日期:2022-09-19 出版日期:2022-09-10
  • 通讯作者: 瞿绍军
  • 作者简介:尹靖涵(2000—),男,浙江丽水人,主要研究方向:目标检测;
    姚泽楷(2000—),男,湖南双峰人 ,主要研究方向:图像分割、目标检测;
    胡玄烨(1999—),男,河南汝州人,主要研究方向:嵌入式软件;
    秦晓雨(2000—),女,山东聊城人,主要研究方向:目标检测;
    华璞靖(2000—),男,江西景德镇人,主要研究方向:数据挖掘。
  • 基金资助:
    国家自然科学基金资助项目(12071126);湖南省教育厅科学研究项目(19C1149);湖南师范大学湘江人工智能学院科研创新项目(202031A12)

Traffic sign recognition model in haze weather based on YOLOv5

Jinghan YIN1,2, Shaojun QU1,2(), Zekai YAO1,2, Xuanye HU1,2, Xiaoyu QIN1,2, Pujing HUA1,2   

  1. 1.College of Information Science and Engineering,Hunan Normal University,Changsha Hunan 410081,China
    2.College of Xiangjiang Artificial Intelligence,Hunan Normal University,Changsha Hunan 410081,China
  • Received:2021-07-19 Revised:2021-09-03 Accepted:2021-09-14 Online:2022-09-19 Published:2022-09-10
  • Contact: Shaojun QU
  • About author:YIN Jinghan, born in 2000. His research interests include object detection.
    YAO Zekai, born in 2000. His research interests include image segmentation, object detection.
    HU Xuanye, born in 1999. His research interests include embedded software.
    QIN Xiaoyu, born in 2000. Her research interests include object detection.
    HUA Pujing, born in 2000. His research interests include data mining.
  • Supported by:
    the National Natural Science Foundation(12071126);Scientific Research Project of Hunan Provincial Department of Education(19C1149);Scientific Research Innovation Project of College of Xiangjiang Artificial Intelligence, Hunan Normal University(202031A12)

摘要:

针对雾霾、雨雪等恶劣天气下小型交通标志识别精度低、漏检严重的问题,提出一种基于YOLOv5的雾霾天气下交通标志识别模型。首先,对YOLOv5的结构进行优化,采用逆向思维,通过削减特征金字塔深度、限制最高下采样倍数来解决小目标难以识别的问题,并通过调整残差模块的特征传递深度来抑制背景特征的重复叠加;其次,引入数据增强、K-means先验框、全局非极大值抑制(GNMS)等机制到模型;最后,在中国交通标志数据集TT100K上验证改进YOLOv5模型在面对恶劣天气时的检测能力,并对精度下降最显著的雾霾天气下的交通标志识别展开了重点研究。实验结果表明,改进YOLOv5模型的F1-score达0.921 50,平均精度均值@0.5 (mAP@0.5)达95.3%,平均精度均值@0.5:0.95 (mAP@0.5:0.95)达75.2%,且所提模型在恶劣天气下仍能进行交通标志的高精度识别,每秒检测帧数(FPS)达到50,满足实时检测的需求。

关键词: 深度学习, 目标检测, YOLOv5, 特征金字塔, 雾霾天气, 交通标志识别

Abstract:

Aiming at the problem of poor recognition precision and serious missed detection of small traffic signs in bad weather such as haze, rain and snow, a traffic sign recognition model in haze weather based on YOLOv5 (You Only Look Once version 5) was proposed. Firstly, the structure of YOLOv5 was optimized. By using contrary thinking, the problem of small object recognition difficulty was solved by reducing the depth of feature pyramid and limiting the maximum down sampling multiple. By adjusting the depth of residual module, the repeated overlapping of background features was suppressed. Secondly, the mechanisms such as data augmentation, K-means anchor and Global Non-Maximum Suppression (GNMS) were introduced into the model. Finally, the detection ability of the improved YOLOv5 facing the bad weather was verified on the Chinese traffic sign dataset TT100K, and the study on traffic sign recognition in the haze weather with the most obvious precision decline was focused on. Experimental results show that the F1-score, mean Average Precision @0.5 (mAP@0.5), mean Average Precision @0.5:0.95 (mAP@0.5:0.95) of the improved YOLOv5 model reach 0.921 50, 95.3% and 75.2%, respectively. The proposed model can maintain high-precision recognition of traffic sign in bad weather, and has Frames Per Second (FPS) up to 50, meeting the requirement of real-time detection.

Key words: deep learning, object detection, You Only Look Once version 5 (YOLOv5), feature pyramid, haze weather, Traffic Sign Recognition (TSR)

中图分类号: