The existing lane detection methods have the problem of low detection accuracy due to fuzzy details in a complex environment.Therefore,this paper proposes an accurate lane detection algorithm based on a double feature extraction network in a complex environment.Firstly,a double feature extraction network is built to obtain feature maps of different scales,extract more effective features,and improve the feature extraction ability of the model in complex environments.Besides,a cross-channel joint attention module is constructed to improve the attention of the model to lane details and suppress useless information.Finally,combined with the improved void space pyramid pooling module,the receptive field is enlarged to improve the utilization of context information of the model,to strengthen the detection ability.The experimental results show that the F1-measure of the proposed algorithm on CULane dataset reaches 72.43%,which is 4.03%higher than that of the mainstream UFSD algorithm.When detecting lane lines in complex scenes,the detection effect of the proposed method is significantly improved,which has been proven to be able to meet the needs of practical applications.