基于轻量级YOLO网络与注意力机制的车道线检测方法OA
Lane Detection Method Based on Lightweight YOLO Network and Attention Mechanism
当前基于深度学习的车道线检测算法普遍存在实时性不足、全局特征建模能力有限等问题,且相关研究大多停留于仿真环境验证阶段,缺乏面向实际嵌入式系统的部署验证.本文提出了一种基于轻量级YOLO网络与注意力机制的车道线检测方法,并完成了从算法设计到实车系统的部署与验证.首先,引入轻量级Faster-Net作为骨干网络,结合部分卷积(PConv)模块进行结构重构,在维持特征提取能力的前提下,显著降低了计算复杂度.其次,在特征融合网络的SPPF模块后嵌入自注意力机制,以增强模型对车道线全局结构及长程空间依赖的建模能力,并抑制复杂背景干扰.结果表明,该方法在CULane数据集上取得了96.83%的精确率,单帧推理时间为11.0 ms,在TuSimple数据集上达到96.33%的准确率,帧率为90.9帧/s,性能优于当前主流算法.最后,将优化后的模型部署于Jetson Orin NX嵌入式平台,并开展实车沙盘环境下的功能验证,结果表明,系统在真实场景中具备良好的稳定性与实时性.本工作不仅提升了车道线检测算法的理论性能,还实现了该技术由数据集验证走向实际车载系统,从而为自动驾驶感知技术的工程化应用提供了完整可行的技术路径.
Aiming at the current issues in lane detection algorithms based on deep learning,such as insufficient real-time performance,limited global feature modeling capability,and the fact that most related studies remain at the simulation validation stage with a lack of deployment verification for practical embedded systems,this paper proposed a lane detection method based on a lightweight YOLO network and an attention mechanism,and completed the deployment and verification from algorithm design to a real-vehicle system.First,a lightweight Faster-Net was introduced as the backbone network,combined with partial convolution(PConv)modules for structural redesign,which significantly reduced computational complexity while maintaining feature extraction capability.Second,a self-attention mechanism was embedded after the SPPF module of the feature fusion network to enhance the model's modeling ability for the global structure of lane lines and long-range spatial dependencies,while suppressing interference from complex backgrounds.The results show that the proposed method achieves a precision of 96.83%on the CULane dataset with a single-frame inference time of 11.0 ms,and an accuracy of 96.33%on the TuSimple dataset with a frame rate of 90.9 FPS,outper-forming current mainstream algorithms.Finally,the optimized model was deployed on the Jetson Orin NX embedded platform,and functional verification was carried out in a real-vehicle sandbox environment.The results demonstrate that the system exhibits good stability and real-time performance in real-world scenarios.This work not only improves the theoretical performance of lane detection algorithms,but also transitions the technology from dataset validation to practical in-vehicle system implementation,providing a complete and feasible technical pathway for the engineering application of autonomous driving perception technology.
董乐;罗佳;杨双龙
中北大学 能源与动力工程学院,山西 太原 030051中北大学 能源与动力工程学院,山西 太原 030051中北大学 能源与动力工程学院,山西 太原 030051
信息技术与安全科学
深度学习自动驾驶车道线检测自注意力机制Faster-Net实车部署
deep learningautonomous drivinglane detectionself-attention mechanismFaster-Netreal-vehicle deployment
《中北大学学报(自然科学版)》 2026 (3)
274-286,13
评论