面向交通相机的轻量化车辆三维形态检测算法OA
Lightweight 3D Vehicle Morphology Detection Algorithm for Traffic Cameras
准确获取车辆的三维信息对于智能车路协同系统的环境感知和路径规划至关重要.路侧相机受透视因素影响难以直接获取车辆三维信息,且车辆三维几何约束力度不足导致检测精度下降,同时现有算法处理速度较慢,无法满足实时性要求.针对上述问题,本文提出一种基于几何约束的轻量化车辆三维形态检测算法.首先建立道路场景下路侧相机空间标定模型,以获取透视空间的二维到三维互映射矩阵及尺度信息;接着利用YOLOv8模型对车辆进行二维检测;结合车辆几何特性与标定结果,构建车辆约束的非线性约束函数,并通过求解函数以实现车辆三维形态精确检测.使用UA-DETRAC数据集和实际高速公路场景评估算法性能,实验结果表明:平均三维检测精度达到91.04%,较现有路侧车辆三维检测方法提升37.7%的检测速度.该算法在保持检测精度的同时显著提升了检测速度,满足了实时应用需求.
Accurately acquiring three-dimensional vehicle information is essential for the environmental perception and path planning in cooperative vehicle-infrastructure systems.Roadside cameras,however,are influenced by perspective distortion,making it challenging to directly capture the three-dimensional information of vehicles.Moreover,insufficient geometric con-straints in existing methods reduce detection accuracy.Additionally,current algorithms often suffer from slow processing speeds and fail to meet real-time requirements.To address these issues,this paper proposes a lightweight vehicle 3D shape detection al-gorithm based on geometric constraints.Firstly,a spatial calibration model for roadside cameras is established within road scenes to obtain the two-dimensional-to-three-dimensional mapping matrix and corresponding scale information of perspective space.Next,the YOLOv8 model is employed for two-dimensional vehicle detection.By combining vehicle geometric features with the calibration results,a nonlinear constraint function is constructed to accurately detect the three-dimensional shape of vehicles.The algorithm's performance is evaluated using the UA-DETRAC dataset and real-world highway scenes.Experimental results demonstrate that the average three-dimensional detection accuracy reaches 91.04%,and the processing speed is 37.7%faster than that of existing roadside vehicle 3D detection methods..The algorithm significantly improves detection speed while maintain-ing high accuracy,meeting the demands of real-time applications.
张建会;王伟;刘骐玮;安祥
陕西高速电子工程有限公司,陕西 西安 710061长安大学信息工程学院,陕西 西安 710018陕西高速电子工程有限公司,陕西 西安 710061陕西高速电子工程有限公司,陕西 西安 710061
信息技术与安全科学
车路协同摄像机标定路侧相机车辆检测YOLOv8
vehicle-road collaborationcamera calibrationroadside cameravehicle detectionYOLOv8
《计算机与现代化》 2026 (3)
64-72,9
陕西省自然科学基础研究计划项目(2023-JC-YB-600)2023年交通运输科研项目计划(23-108k)长安大学教育教学改革研究重点项目(BZ202326)
评论