计算机科学 ›› 2021, Vol. 48 ›› Issue (12): 256-263.doi: 10.11896/jsjkx.200700026
龚航, 刘培顺
GONG Hang, LIU Pei-shun
摘要: 有效地对夜间车辆违规使用远光灯的行为进行管理,可以降低夜间交通事故的发生,但目前缺乏高效的远光灯检测方法,相关交通法规无法得到有效执行。针对此问题,文中提出了一种夜间车辆远光灯检测深度学习算法。该算法基于YOLOv3进行设计,通过降低各层卷积层维数的方式,来减少整体网络的参数量,提高算法的运行速度;然后对网络的残差组件进行改进,使用标准的残差组件,同时设计了一个空洞卷积模块来加强网络局部和全局特征的融合,增强了网络的特征表达能力;接着对YOLOv3的损失函数进行了改进,优化小尺寸目标对坐标损失的贡献,增强了小尺度目标的检测能力;最后对YOLOv3先验框聚类算法和个数进行优化,提高模型的表达能力和检测速度。实验结果表明,所设计的算法的平均准确率(mAP)达到了99.09%,相比YOLOv3提升了30%,满足了实用化要求,能够有效地检测违规行为。
中图分类号:
[1]WU Y Q,HUA J F,CHEN Y,et al.Difficulties and Countermeasures for illegal use of driving beam headlamp of motor vehicles[J].China Public Security (Academy Edition),2018(1):78-81. [2]GUAN Y.Look at the top ten “most offensive traffic habits” from a technical perspective[J].Auto & Safety,2014(7):56-63. [3]SU J Y,ZHANG W W,WU X C,et al.The driving beam recognition of vehicle based on multi-structure feature extraction and trajectory tracking[J].Journal of Electronic Measurement and Instrumentation,2018,32(10):103-110. [4]GIRSHICK R,DONAHUE J,DARRELL T,et al.Rich feature hierarchies for accurate object detection and semantic segmentation[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2014:580-587. [5]GIRSHICK R.Fast R-CNN[C]//Proceedings of the IEEE International Conference on Computer Vision.2015:1440-1448. [6]REN S,HE K,GIRSHICK R,et al.Faster R-CNN:Towards real-time object detection with region proposal networks[C]//International Conference on Neural Information Processing Systems.Cambridge:MIT Press,2015:91-99. [7]DAI J,LI Y,HE K,et al.R-FCN:Object detection via region-based fully convolutional networks[C]//Advances in Neural Information Pocessing Systems.2016:379-387. [8]HE K,GKIOXARI G,DOLLAR P,et al.Mask R-CNN[C]//Proceedings of the IEEE International Conference on Computer Vision (ICCV).Venice,Italy,2017:2980-2988. [9]REDMON J,DIVVALA S,GIRSHICK R,et al.You Only Look Once:Unified,Real-Time Object Detection[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:779-788. [10]LIU W,ANGUELOV D,ERHAN D,et al.SSD:Single shot multibox detector[C]//European Conference on Computer Vision.Cham:Springer,2016:21-37. [11]REDMON J,FARHADI A.YOLO9000:Better,faster,stronger[C]//IEEE Conference on Computer Vision and Pattern Recognition.Honolulu:IEEE Computer Society,2017:6517-6525. [12]LIN T Y,GOYAL P,GIRSHICK R,et al.Focal Loss for Dense Object Detection[J].IEEE Transactions on Pattern Analysis & Machine Intelligence,2017(99):2999-3007. [13]REDMON J,FARHADI A.YOLOv3:An incremental improve-ment[J].arXiv:1804.02767,2018. [14]LIU S,HUANG D,WANG Y.Receptive field block net for accurate and fast object detection[C]//Computer Vision-ECCV.2018:404-419. [15]DAI W C,JIN L X,LI G N,et al.Real-time airplane detection algorithm in remote-sensing images based on improved YOLOv3[J].Opto-Electronic Engineering,2018,45(12):84-92. [16]ZHANG F K,YANG F,LI C.Fast Vehicle Detection Method Based on Improved YOLOv3[J].Computer Engineering and Applications,2019,55(2):12-20. [17]ZHANG G S,GE G Y,ZHU R H,et al.Research of Gear Defect Detection Based on Improved YOLOv3 Network[J/OL].http://kns.cnki.net/kcms/detail/31.1690.TN.20191107.1704.010.html. [18]REZATOFIGHI H,TSOI N,GWAK J Y,et al.Generalized Intersection Over Union:A Metric and a Loss for Bounding Box Regression[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2019:658-666. [19]XU Y L,HE P.Yolov3 vehicle detection algorithm with im- proved loss function[J].Information & Communications,2019(12):4-7. [20]HE K,ZHANG X,REN S,et al.Deep residual learning for image recognition[C]//Proceedingss of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR).Las Vegas,NV,2016:770-778. [21]YU F,KOLTUN V.Multi-scale context aggregation by dilated convolutions[J].arXiv:1511.07122,2015. [22]CUI W L,WANG Y J,KANG S Q,et al.The detection method of highway lane line based on improved yolov3 algorithm[J/OL].https://doi.org/10.16383/j.aas.c190178. [23]LI B,LIU Y,WANG X.Gradient Harmonized Single-stage Detector[J].arXiv:1811.05181,2018. [24]BOCHKOVSKIY A,WANG C Y,LIAO H Y M.YOLOv4:Optimal Speed and Accuracy of Object Detection[J].arXiv:2004.10934,2020. [25]LI Z X,ZHOU F Q.FSSD:feature fusion single shot multibox detector[J].arXiv:1712.00960,2017. |
[1] | 徐涌鑫, 赵俊峰, 王亚沙, 谢冰, 杨恺. 时序知识图谱表示学习 Temporal Knowledge Graph Representation Learning 计算机科学, 2022, 49(9): 162-171. https://doi.org/10.11896/jsjkx.220500204 |
[2] | 饶志双, 贾真, 张凡, 李天瑞. 基于Key-Value关联记忆网络的知识图谱问答方法 Key-Value Relational Memory Networks for Question Answering over Knowledge Graph 计算机科学, 2022, 49(9): 202-207. https://doi.org/10.11896/jsjkx.220300277 |
[3] | 汤凌韬, 王迪, 张鲁飞, 刘盛云. 基于安全多方计算和差分隐私的联邦学习方案 Federated Learning Scheme Based on Secure Multi-party Computation and Differential Privacy 计算机科学, 2022, 49(9): 297-305. https://doi.org/10.11896/jsjkx.210800108 |
[4] | 王剑, 彭雨琦, 赵宇斐, 杨健. 基于深度学习的社交网络舆情信息抽取方法综述 Survey of Social Network Public Opinion Information Extraction Based on Deep Learning 计算机科学, 2022, 49(8): 279-293. https://doi.org/10.11896/jsjkx.220300099 |
[5] | 王馨彤, 王璇, 孙知信. 基于多尺度记忆残差网络的网络流量异常检测模型 Network Traffic Anomaly Detection Method Based on Multi-scale Memory Residual Network 计算机科学, 2022, 49(8): 314-322. https://doi.org/10.11896/jsjkx.220200011 |
[6] | 郝志荣, 陈龙, 黄嘉成. 面向文本分类的类别区分式通用对抗攻击方法 Class Discriminative Universal Adversarial Attack for Text Classification 计算机科学, 2022, 49(8): 323-329. https://doi.org/10.11896/jsjkx.220200077 |
[7] | 姜梦函, 李邵梅, 郑洪浩, 张建朋. 基于改进位置编码的谣言检测模型 Rumor Detection Model Based on Improved Position Embedding 计算机科学, 2022, 49(8): 330-335. https://doi.org/10.11896/jsjkx.210600046 |
[8] | 孙奇, 吉根林, 张杰. 基于非局部注意力生成对抗网络的视频异常事件检测方法 Non-local Attention Based Generative Adversarial Network for Video Abnormal Event Detection 计算机科学, 2022, 49(8): 172-177. https://doi.org/10.11896/jsjkx.210600061 |
[9] | 侯钰涛, 阿布都克力木·阿布力孜, 哈里旦木·阿布都克里木. 中文预训练模型研究进展 Advances in Chinese Pre-training Models 计算机科学, 2022, 49(7): 148-163. https://doi.org/10.11896/jsjkx.211200018 |
[10] | 周慧, 施皓晨, 屠要峰, 黄圣君. 基于主动采样的深度鲁棒神经网络学习 Robust Deep Neural Network Learning Based on Active Sampling 计算机科学, 2022, 49(7): 164-169. https://doi.org/10.11896/jsjkx.210600044 |
[11] | 苏丹宁, 曹桂涛, 王燕楠, 王宏, 任赫. 小样本雷达辐射源识别的深度学习方法综述 Survey of Deep Learning for Radar Emitter Identification Based on Small Sample 计算机科学, 2022, 49(7): 226-235. https://doi.org/10.11896/jsjkx.210600138 |
[12] | 胡艳羽, 赵龙, 董祥军. 一种用于癌症分类的两阶段深度特征选择提取算法 Two-stage Deep Feature Selection Extraction Algorithm for Cancer Classification 计算机科学, 2022, 49(7): 73-78. https://doi.org/10.11896/jsjkx.210500092 |
[13] | 程成, 降爱莲. 基于多路径特征提取的实时语义分割方法 Real-time Semantic Segmentation Method Based on Multi-path Feature Extraction 计算机科学, 2022, 49(7): 120-126. https://doi.org/10.11896/jsjkx.210500157 |
[14] | 刘伟业, 鲁慧民, 李玉鹏, 马宁. 指静脉识别技术研究综述 Survey on Finger Vein Recognition Research 计算机科学, 2022, 49(6A): 1-11. https://doi.org/10.11896/jsjkx.210400056 |
[15] | 孙福权, 崔志清, 邹彭, 张琨. 基于多尺度特征的脑肿瘤分割算法 Brain Tumor Segmentation Algorithm Based on Multi-scale Features 计算机科学, 2022, 49(6A): 12-16. https://doi.org/10.11896/jsjkx.210700217 |
|