Abstract:In view of the shortcomings of the traditional multi-target tracking algorithm, such as low detection accuracy and poor robustness, according to the classic Tracking-By-Detection mode, a vehicle flow detection method based on YOLOv3 and DeepSort is proposed, which realizes the real-time monitoring and tracking of the end-to-end vehicle flow video in vehicle video monitoring. The video vehicle target is detected by deep learning YOLOv3 algorithm, and then the detected vehicle is tracked in real time by deep learning DeepSort algorithm. The experimental results show that the method has good detection effect on traffic flow when dealing with the influence of fast moving vehicles and ambient light, and the average accuracy is up to 94.7%. The end-to-end algorithm is feasible and effective, which is suitable for video batch processing.
作者简介: 陈佳倩(1996-),女,江苏泰州人,上海理工大学在读硕士研究生,主要研究方向为信号的获取与处理、视觉检测、图像处理技术。Email: 1539142681@qq. com
引用本文:
陈佳倩,金晅宏,王文远,陆莹洁. 基于YOLOv3和DeepSort的车流量检测[J]. 计量学报, 2021, 42(6): 718-723.
CHEN Jia-qian, JIN Xuan-hong, WANG Wen-yuan, LU Ying-jie. Vehicle Flow Detection Based on YOLOv3 and DeepSort. Acta Metrologica Sinica, 2021, 42(6): 718-723.
[1]郭真子. 基于视频图像的城市交通流量统计算法研究 [D]. 西安:西安科技大学, 2019.
[2] 李坤. 基于磁阻传感器的车流量检测系统的设计 [J]. 测控技术, 2019, 38 (1): 114-116+144.
Li K. Design of Vehicle Flow Detection System Based on Magnetoresistive Sensor [J]. Measurement and Control Technology, 2019, 38 (1): 114-116+144.
[3] 刘鑫, 金晅宏. 四帧间差分与光流法结合的目标检测及追踪 [J].光电工程, 2018, 45 (8): 35-42.
Liu X, Jin H H. Target Detection and Tracking Based on Four-Frame Difference and Optical Flow Method [J]. Optoelectronic Engineering, 2018, 45 (8): 35-42.
[4] 程淑红, 马继勇, 张仕军, 等. 改进的混合高斯与YOLOv2融合烟雾检测算法 [J].计量学报, 2019, 40 (5): 798-803.
Cheng S H, Ma J Y, Zhang S J, et al. Improved Smog Detection Algorithm Based on Mixture of Gaussian and YOLOv2 Fusion [J]. Acta Metrologica Sinica, 2019, 40 (5): 798-803.
[5] 程淑红, 高许, 程树春, 管永来. 基于计算机视觉的运动车辆检测 [J].计量学报, 2017, 38 (3): 288-291.
Cheng S H, Gao X, Cheng S C, Guan Y L. Detection of Moving Vehicles Based on Computer Vision [J]. Acta Metrologica Sinica, 2017, 38 (3): 288-291.
[6] 王忠民, 段娜, 范琳. 融合YOLO检测与均值漂移的目标跟踪算法 [J].计算机工程与应用, 2019, 55 (10): 186-192+212.
Wang Z M, Duan N, Fan L. Target Tracking Algorithm Combining YOLO Detection and Mean Shift [J]. Computer Engineering and Applications, 2019, 55 (10): 186-192+212.
[7] Girshick R. Fast R-CNN [C]//IEEE International Conference on Computer Vision, Santiago, Chile, 2015.
[8] Wang D T, Zhu J L, Li W J, et al. Dairy goat detection based on Faster R-CNN from surveillance video [J]. Computers & Electronics in Agriculture, 2018, 154: 443-449.
[9] Redmon J, Farhadi A. YOLOv3: An Incremental Improvement[C]//
2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
[10] Bewley A, Ge Z Y, Ott L, et al. Simple online and realtime tracking[C]// 2016 IEEE International Conference on Image Processing (ICIP), 2016.
[11] Wojke N, Bewley A, Paulus D. Simple online and realtime tracking with a deep association metric[C]//
2017 IEEE International Conference on Image Processing (ICIP),Beijing, China,2017.
[12] Zhang X, Hao X Y, Liu S L, et al. Multi-target tracking of surveillance video with differential YOLO and DeepSort [C]//11th Eleventh International Conference on Digital Image Processing (ICDIP 2019), Guangzhou, China, 2019.
[13] Bouachir W, Gouiaa R, Li B, et al. Intelligent video surveillance for real-time detection of suicide attempts [J]. Pattern Recognition Letters, 2018, 110 (15):1-7.
[14] 程瑶, 赵雷, 成珊, 等. 基于机器视觉的车距检测系统设计[J]. 计量学报, 2020, 41(1): 11-15.
Cheng Y, Zhao L, Cheng S, et al. Design of Vehicle Distance Detection System Based on Machine Vision[J]. Acta Metrologica Sinica, 2020, 41(1): 11-15.
[15] 葛雯, 史正伟. 改进YOLOV3算法在行人识别中的应用 [J].计算机工程与应用, 2019, 55 (20): 128-133.
Ge W, Shi Z W. application of improved YOLOV3 algorithm in pedestrian recognition [J]. Computer Engineering and Application, 2019, 55 (20): 128-133.
[16] Lyu S W, Chang M C, Du D W, et al. UA-DETRAC 2017: Report of AVSS2017 & IWT4S Challenge on Advanced Traffic Monitoring [C]//14th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS 2017), Lecce, Italy, 2017.