计算机与现代化Issue(3):64-72,9.DOI:10.3969/j.issn.1006-2475.2026.03.009
面向交通相机的轻量化车辆三维形态检测算法
Lightweight 3D Vehicle Morphology Detection Algorithm for Traffic Cameras
摘要
Abstract
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.关键词
车路协同/摄像机标定/路侧相机/车辆检测/YOLOv8Key words
vehicle-road collaboration/camera calibration/roadside camera/vehicle detection/YOLOv8分类
信息技术与安全科学引用本文复制引用
张建会,王伟,刘骐玮,安祥..面向交通相机的轻量化车辆三维形态检测算法[J].计算机与现代化,2026,(3):64-72,9.基金项目
陕西省自然科学基础研究计划项目(2023-JC-YB-600) (2023-JC-YB-600)
2023年交通运输科研项目计划(23-108k) (23-108k)
长安大学教育教学改革研究重点项目(BZ202326) (BZ202326)