计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (15): 269-277.DOI: 10.3778/j.issn.1002-8331.2404-0322

• 图形图像处理 • 上一篇    下一篇

复杂路况下的车道线高精度检测方法

李超,唐雅琪,彭琴   

  1. 1.湖北工业大学 计算机学院,武汉 430072
    2.中国标准化研究院,北京 100191
  • 出版日期:2025-08-01 发布日期:2025-07-31

High-Precision Detection of Lane Lines in Complex Road Conditions

LI Chao, TANG Yaqi, PENG Qin   

  1. 1.School of Computer Science, Hubei University of Technology, Wuhan 430072, China
    2.China National Institute of Standardization, Beijing 100191, China
  • Online:2025-08-01 Published:2025-07-31

摘要: 复杂路况下的大雾、强光或无视觉线索使得车道线检测的可用信息十分有限,导致车道线的检测精度不高。针对该问题,在一种基于分割+分类的检测模型上提出一种新的车道线检测方法DrfLane(DCNV3+RT-DETR+FocalDiceLoss Lane)。在残差网络的特征提取模块中引入动态卷积,使网络能够根据不同特征动态调整卷积核的形状,增强模型在不同场景下的适应能力。在此基础上对残差网络的输出特征进行多尺度特征融合,使得模型能够同时捕捉到更多局部细节和全局结构,以提升模型对不同尺度车道线的感知能力,从而提高预测精度。此外,针对传统方法在检测过程中未能考虑到车道线的细长结构进而导致正负样本不均衡,通过建立FocalDiceLoss解决样本类别不平衡和难易样本问题。将该方法与目前先进的车道线检测算法在大型复杂路况数据集CULane上进行了实验对比,结果表明该方法在检测精度方面比其他优秀方法均有提升,验证了所提方法对车道线检测的准确性和有效性。

关键词: 车道线检测, 动态卷积, 多尺度融合, 结构损失, 锚点

Abstract: Fog, glare or no visual cues in complex road conditions make the available information for lane line detection very limited, resulting in poor lane line detection accuracy. To address this problem, this paper proposes a new lane line detection method DrfLane (DCNV3+RT-DETR+FocalDiceLoss Lane) on a segmentation+classification based detection model. Dynamic convolution is introduced into the feature extraction module of the residual network, so that the network can dynamically adjust the shape of the convolution kernel according to different features, and enhance the model’s adaptability in different scenes. On this basis, multi-scale feature fusion is performed on the output features of the residual network, which enables the model to capture more local details and global structures at the same time, in order to enhance the model’s ability to perceive lane lines at different scales, and thus improve the prediction accuracy. In addition, to address the problem that traditional methods fail to consider the elongated structure of lane lines during the detection process and thus lead to the imbalance of positive and negative samples, the problem of sample category imbalance and difficult and easy samples is solved by establishing the FocalDiceLoss. The experimental comparison between the pproposed method and the current advanced lane line detection algorithms is carried out on a large and complex road condition dataset CULane, and the results show that the proposed method has improved the detection accuracy than other excellent methods, which verifies the accuracy and effectiveness of the proposed method for lane line detection.

Key words: lane line detection, dynamic convolution, multiscale fusion, structural loss, anchor points