基于改进Yolov4的行人测距技术研究
Research on Pedestrian Ranging Technology Based on Improved Yolov4
胡清政 1董秀成2
作者信息
- 1. 四川航天电子设备研究所,四川 成都 610100;西华大学电气与电子信息学院,四川 成都 610039
- 2. 西华大学电气与电子信息学院,四川 成都 610039
- 折叠
摘要
在自动驾驶技术的研究中,如何检测行人并测量其相对距离,辅助驾驶员预判风险一直是重点研究的问题.由于车辆行驶速度较快,行人又具有目标小、难检测等特征,使用原始的Yolov4 模型搭配相似三角形测距法难以达到实时性检测和精准测距的要求.针对上述问题,通过修改Loss函数、轻量化网络结构等技巧改进Yolov4 模型.实验结果表明,改进的Yolov4 模型运行速度达到了平均62.5FPS,较Yolov4 提升 25%;结合改进相似三角形测距法,在纵向距离 60 米、横向距离 4米内测距平均误差为4.90%,不仅运行速度更快而且测距准确性更高.
Abstract
In the research of automatic driving technology,how to detect pedestrians and measure their relative distance,and how to assist drivers to predict the risk has always been the focus of research.Due to the fast speed of vehicles and the small and difficult detection of pedestrians,it is difficult to achieve the requirements of real-time de-tection and accurate ranging by using the original Yolov4 model and the basic similar triangle ranging method.To solve this problem,this paper improves the Yolov4 model by using the techniques of modifying the loss function and lightweight network structure and proposes an improved similar triangle algorithm based on the similar triangle algo-rithm for the spatial relationship between pedestrians and vehicles.The experimental results show that the running speed of the new Yolov4 model reaches 62.5 FPS on average,which is 25%higher than Yolov4.Combined with the improved similar triangle algorithm,the average distance measurement error is 4.90%in the longitudinal distance of 60 meters and the transverse distance of 4 meters,which not only runs faster,but also has higher ranging accuracy.
关键词
自动驾驶/目标检测/相似三角形测距Key words
Automatic driving/Object detection/Similar triangle ranging引用本文复制引用
基金项目
教育部"春晖计划"科研项目(Z2017076)
四川省中央引导地方科技发展专项(2021ZYD0034)
四川高科-西华大学产学研联合实验室项目(2016-YF04-00044-JH)
出版年
2024