Lane line detection method and system based on improved UFLD model

By integrating the coordinate attention mechanism and the spatial attention mechanism in the UFLD model, the problem of low lane line detection accuracy in complex road scenes is solved, efficient lane line detection in curves and scenes without visual clues is achieved, and detection is improved. accuracy and robustness.

CN118570755APending Publication Date: 2024-08-30ANHUI NORMAL UNIV
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410618427.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing lane line detection methods have low detection accuracy in complex road scenes, especially in curves and scenes without visual clues, making it difficult to ensure fast and accurate detection results.

Method used

The improved UFLD model is used to improve the performance of feature extraction and segmentation networks by fusing the coordinate attention mechanism and spatial attention mechanism to ensure improved detection accuracy and robustness in complex scenes.

Benefits of technology

While ensuring real-time performance, the accuracy of lane line detection is significantly improved, especially in curves and scenes without visual clues, which improves the accuracy and robustness of detection and enhances the ability to recognize lane lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570755A
    Figure CN118570755A
Patent Text Reader

Abstract

The invention discloses a lane line detection method and system based on an improved UFLD model, and belongs to the field of automatic driving. The method comprises the following steps: obtaining a lane line data set, wherein the lane line data set comprises a training set and a test set; pre-processing the lane line data set, wherein the pre-processing comprises data enhancement of the lane line image and adjustment of the resolution of the lane line image; establishing an improved UFLD model, wherein the improved UFLD model comprises a feature extraction layer fused with a coordinate attention mechanism and an auxiliary segmentation network fused with a space attention mechanism; and training the improved UFLD model by using the preprocessed training set, and inputting the test set into the trained improved UFLD model to obtain a lane line detection result. According to the invention, the lane line detection and identification capability in a curve and challenging scene is improved under the condition that the detection real-time performance is ensured, and the driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of autonomous driving, and in particular, relates to a lane line detection method and system based on an improved UFLD model. Background Art

[0002] Lane detection is an important and challenging task in computer vision, which requires a network model to detect lanes in an image. Lane detection is also a basic problem in autonomous driving, playing a vital role in applications such as real-time vehicle positioning, driving path planning, assisted lane keeping, and adaptive cruise control. It is a basic step in intelligent advanced driver assistance systems (ADAS). Traditional lane line detection methods solve lane detection problems based on visual information. They have low computational complexity and can achieve good results in some scenarios, but they have some limitations and defects. For example, they have high requirements for detection scenarios. If the lane lines are blurred or partially occluded, the robustness and accuracy of this method are low. Compared with traditional methods, methods based on deep learning have better robustness, generalization ability and detection accuracy. For this reason, lane line detection based on deep learning has become mainstream. However, this method also faces difficulties in practical application. Real road scenes are complex and changeable. For example, there is no visual clue problem caused by changes in lighting conditions, severe vehicle congestion and occlusion, and no lane lines or damage, resulting in unsatisfactory detection accuracy. At the same time, the detection speed must be improved while ensuring the detection accuracy. Therefore, it is very challenging to perform fast and accurate lane line detection in a large number of complex scenarios in real situations.

[0003] The prior art (CN117935194A) discloses a lane line detection model training method, detection method, device, equipment and medium. The training sample image is converted into a sample bird's-eye view; the sample bird's-eye view is processed using a preset detection model, wherein the preset detection model includes a first feature extraction network, a second feature extraction network and a feature point prediction network connected in sequence, the first feature extraction network is used to extract a high-dimensional sample feature map of the sample bird's-eye view, the second feature extraction network is used to extract spatial features of different scales in the high-dimensional sample feature map, and the feature point prediction network is used to predict the three-dimensional lane line in the training sample image; the target loss function is determined according to the output of the preset detection model and the training sample image; the preset detection model is trained based on the target loss function. The prior art does not provide a specific and reliable lane line prediction model, and at the same time, does not propose an effective solution to improve the detection accuracy for lane line detection in complex road scenes. For this reason, the present invention proposes a lane line detection method and system based on an improved UFLD model. Summary of the invention

[0004] The present invention aims to overcome the shortcomings of the prior art and proposes a lane line detection method and system based on an improved UFLD model to achieve the purpose of lane line detection in complex road scenes, while ensuring the detection speed and improving the detection accuracy, especially for curved roads and scenes without visual clues.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is: a lane line detection method based on an improved UFLD model, the method comprising the following steps:

[0006] S1. Obtain a lane line dataset, where the lane line dataset includes a training set and a test set;

[0007] S2. Preprocessing the lane line data set, wherein the preprocessing includes data enhancement of the lane line image and adjustment of the lane line image resolution;

[0008] S3. Establish an improved UFLD model, wherein the improved UFLD model includes a feature extraction layer integrating a coordinate attention mechanism and an auxiliary segmentation network integrating a spatial attention mechanism;

[0009] S4. Use the preprocessed training set to train the improved UFLD model, and then input the test set into the trained improved UFLD model to obtain lane line detection results.

[0010] Furthermore, in step S2, the data enhancement of the lane line image includes a small rotation of the lane line image, horizontal and vertical offsets, and random chromaticity adjustment.

[0011] Furthermore, in step S3, the improved UFLD model uses the ResNet-18 network as the backbone network, and the backbone network consists of a 5-layer structure, namely C0, C1, C2, C3, and C4, wherein C0 consists of a convolutional layer and a pooling layer; C1, C2, C3, and C4 are feature extraction layers, and each layer of C1, C2, C3, and C4 consists of 2 3×3 residual blocks.

[0012] Further, in step S3, the feature extraction layer structure of the fusion coordinate attention mechanism includes:

[0013] The output of the last 3×3 convolutional layer in the second residual block of layer C2 is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of layer C3.

[0014] The output of the last 3×3 convolutional layer in the second residual block of layer C3 is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of layer C4.

[0015] The output of the last 3×3 convolutional layer in the second residual block of the C4 layer is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is connected to the fully connected layer in the classification detection network.

[0016] Furthermore, in step S3, the auxiliary segmentation network structure integrating the spatial attention mechanism includes: the multi-dimensional feature layer output by the feature extraction layer is upsampled to output a feature layer with consistent dimension, the feature layers with consistent dimension are spliced ​​and input into the convolution layer, the output of the convolution layer is used as the input of the spatial attention mechanism, and the output of the spatial attention mechanism is connected to the segmentation head.

[0017] Furthermore, the multi-dimensional feature layer output by the feature extraction layer is upsampled by bilinear interpolation.

[0018] Further, the step S4 includes the following sub-steps:

[0019] S41, inputting the preprocessed training set into the improved UFLD model for training, and extracting features of different dimensions by the feature extraction layer of the fusion coordinate attention mechanism;

[0020] S42, inputting the extracted feature map into the auxiliary segmentation network fused with the spatial attention mechanism for processing, and outputting the segmentation prediction result;

[0021] S43, inputting the extracted feature graph into a classification detection network for processing, and outputting a classification prediction result;

[0022] S44, post-processing the classification prediction results and the segmentation prediction results, converting the classification prediction results and the segmentation prediction results into corresponding category indexes, using a loss function to calculate the gradient of the parameters on the network, and updating the parameter values;

[0023] S45, repeat the above steps until the improved UFLD model converges and save the trained model;

[0024] S46. Use the test set to test the trained network model, wherein the auxiliary segmentation network integrating the spatial attention mechanism does not work during the test, and finally outputs the lane line detection result.

[0025] Further, in the sub-step S44, the parameter values ​​are updated using the SGD optimization algorithm.

[0026] Furthermore, the lane line dataset adopts the CULane dataset.

[0027] At the same time, according to the above method, the present invention also proposes a lane line detection system based on an improved UFLD model, the system includes an image acquisition device and a processor, the image acquisition device is connected to the processor, wherein the image acquisition device is used to obtain a lane line image and upload it to the processor, the processor is integrated with an algorithm based on the method described in the present invention, and is used to perform lane line detection on the lane line image.

[0028] The technical effects of the present invention are as follows: the method of the present invention integrates the coordinate attention mechanism (CA) in the feature extraction network, with almost no computational overhead, embeds the position information into the channel attention, and can focus on specific coordinates in the image in scenes without visual cues, helping the model to better focus on areas where lane lines may exist, thereby improving the accuracy and robustness of detection. The spatial attention mechanism (SA) is integrated into the auxiliary segmentation branch to capture long-distance information associations in space to enhance the importance of spatial features, help the model pay attention to target objects distributed along the curve, effectively handle visual changes caused by curvature, and improve the accuracy of the model for curve detection. In summary, the present invention improves the accuracy of the model's lane line detection while ensuring the real-time performance of lane line detection by improving the model, solving the problem of low lane line detection accuracy in curves and scenes without visual cues. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a flow chart of a lane line detection method according to an embodiment of the present invention;

[0030] Figure 2 It is a structural schematic diagram of an improved UFLD model according to an embodiment of the present invention;

[0031] Figure 3 A schematic diagram of the coordinate attention mechanism structure of an embodiment of the present invention;

[0032] Figure 4 Schematic diagram of the spatial attention mechanism structure of an embodiment of the present invention;

[0033] Figure 5 This is a test result diagram of lane lines in a challenging scenario according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following is a further detailed description of the specific implementation of the present invention through the description of the embodiments with reference to the accompanying drawings, with the purpose of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and to facilitate its implementation. In order to make the technical solution of the present invention clearer, the present invention is explained through the following embodiments:

[0035] A lane detection method based on an improved UFLD model, such as Figure 1As shown, the method comprises the following steps:

[0036] S1. Obtain a lane line dataset, where the lane line dataset includes a training set and a test set.

[0037] In this embodiment, the lane line dataset is the CULane dataset, which is a public dataset for lane line detection. Xingang Pan et al. published the paper "Spatial as deep: Spatial CNN for traffic scene understanding" at the Thirty Second AAAI Conference on Artificial Intelligence. The training set of the dataset has 88,880 images, the validation set has 9,675 images, and the test set has 34,680 images. The test set has 9 detection scenes, namely normal scenes and 8 challenging scenes, and the image size is 1640*590.

[0038] S2. Preprocessing the lane line data set, wherein the preprocessing includes data enhancement of the lane line image and adjustment of the lane line image resolution.

[0039] In this embodiment, the data enhancement of the CULane dataset includes a small rotation of the lane line image, horizontal and vertical offsets, and random chromaticity adjustment, so that the model can adapt to the same image under different lighting conditions, greatly reduce the impact of lighting on lane line detection, and overall improve the robustness and generalization ability of the model detection in different scenarios. After data enhancement, the lane line image resolution is adjusted to 288×800.

[0040] S3, establish an improved UFLD model, the improved UFLD model includes a feature extraction layer integrating a coordinate attention mechanism and an auxiliary segmentation network integrating a spatial attention mechanism. Figure 2 Shown is a structural diagram of the improved UFLD model of the present invention.

[0041] The UFLD model is a lane detection model commonly used in the prior art. The UFLD model includes a backbone network, a classification detection network and an auxiliary segmentation network. The backbone network usually uses a ResNet-18 network. The backbone network consists of a 5-layer structure, namely C0, C1, C2, C3, and C4, wherein C0 consists of a convolutional layer and a pooling layer; C1, C2, C3, and C4 are feature extraction layers. Each layer of C1, C2, C3, and C4 consists of two 3×3 residual blocks, and the number of residual blocks in each layer is 2, 2, 2, and 2, respectively. Although the high-level features of the UFLD model are semantically rich, they lack location information. Therefore, in this embodiment, the improved UFLD model also uses the ResNet-18 network as the backbone network. However, in order to overcome the shortcoming of the traditional UFLD model that lacks position information, the present invention integrates the coordinate attention mechanism in the C2~C4 layers, and embeds the position information into the channel attention, so that the model can obtain more feature information in the feature extraction process. For scenes without visual clues, it can pay attention to specific coordinates in the image, helping the model to better focus on areas where lane lines may exist, thereby improving the accuracy and robustness of detection.

[0042] Specifically, the feature extraction layer structure of the present invention integrating the coordinate attention mechanism includes: the output of the last 3×3 convolutional layer in the second residual block of the C2 layer is used as the input of the coordinate attention mechanism, and the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of the C3 layer; the output of the last 3×3 convolutional layer in the second residual block of the C3 layer is used as the input of the coordinate attention mechanism, and the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of the C4 layer; the output of the last 3×3 convolutional layer in the second residual block of the C4 layer is used as the input of the coordinate attention mechanism, and the output of the coordinate attention mechanism is connected to the fully connected layer in the classification detection network.

[0043] The coordinate attention mechanism (CA) is a more flexible attention module that can be plug-and-play. It embeds position information into channel attention, so that the network can obtain more feature information and improve network accuracy.

[0044] The schematic diagram of the coordinate attention mechanism is as follows Figure 3 As shown in the figure, after the feature map X is input into the coordinate attention mechanism, each channel will be averaged and pooled using the pooling kernels of (H, 1) and (1, W) respectively in the X and Y axis directions to generate feature maps of C×H×1 and C×1×W shapes. and Where C represents the feature map channel, H represents the feature map height, and W represents the feature map width, as shown in the following equations (1) and (2):

[0045] The output of the cth channel with height h for:

[0046]

[0047] The output of the cth channel with width w for:

[0048]

[0049] Among them, x c Represents the intermediate feature map of the c-th channel.

[0050] Secondly, the above two aggregate feature maps and Perform concat with spatial dimension dim=2, then perform convolution F1 (convolution kernel size kernel_size=1, stride=1) to compress the channel, and connect with batch normalization BN and nonlinear activation function δ to obtain the intermediate feature vector f, as shown in (3).

[0051] f=δ(F1([z h ,z w ]))#(3)

[0052] Finally, f is divided into independent tensors f along the H and W directions. h and f w , then do convolution F h and F w (kernel_size=1, stride=1) Re-adjust f h and f w The number of channels is the same as the input X, σ is the sigmoid function, and then the new attention weight g is obtained after the Sigmoid function. h and g w Its formulas are shown in (4) and (5), and the output Y of the coordinate attention module is shown in formula (6):

[0053] g h =σ(F h (f h ))#(4);

[0054] g w =σ(F w (f w ))#(5);

[0055]

[0056] Among them, y c represents the output of the cth channel, y c∈Y.

[0057] By adding a coordinate attention mechanism to the backbone network, the model’s ability to locate and identify lane line areas can be improved, especially the accuracy of lane line detection in scenes without visual cues.

[0058] In this embodiment, the feature extraction layer integrating the coordinate attention mechanism can extract feature maps of different dimensions, and the extracted feature maps will be respectively input into the classification detection network and the auxiliary segmentation network for processing.

[0059] The function of the auxiliary segmentation network is to use the features extracted from different layers of the backbone network for connection and convolution operations. In this embodiment, by integrating the spatial attention module (SA), it is possible to capture long-distance information associations in space, strengthen the importance of spatial features and spatial position learning, reduce interference with irrelevant information, highlight the geometric features of lane lines, and effectively handle visual changes caused by curvature, thereby improving the detection accuracy of curves. The auxiliary segmentation network is only effective during model training, ensuring that the detection accuracy of lane line features in curve scenarios is more efficiently extracted without affecting the inference speed.

[0060] The auxiliary segmentation network structure of the present invention integrating the spatial attention mechanism includes: a multi-dimensional feature layer output by the feature extraction layer is up-sampled and then outputs a feature layer with the same dimension, such as Figure 2 As shown, in this embodiment, the outputs of the feature extraction layers C2, C3, and C4 that incorporate the coordinate attention mechanism are upsampled using bilinear interpolation, the feature layer output by C3 is upsampled by 2 times, and the feature layer output by C4 is upsampled by 4 times, thereby obtaining three feature layers with consistent dimensions. The feature layers with consistent dimensions are spliced ​​and input into the convolution layer, the output of which is used as the input of the spatial attention mechanism, and the output of the spatial attention mechanism is connected to the segmentation head.

[0061] like Figure 4 The figure shows a schematic diagram of the spatial attention mechanism structure. The principle of the spatial attention mechanism of the present invention is as follows:

[0062] First, the input feature map X input Perform global average pooling and global maximum pooling;

[0063] Secondly, the results of global average pooling (Avgpool) and global maximum pooling (Maxpool) are spliced ​​according to channels;

[0064] Finally, the concatenated result is convolved with a 7*7 convolutional layer to obtain a feature dimension of H×W×1, and then processed by a nonlinear activation function σ to obtain spatial attention. The specific formulas are shown in (7) and (8).

[0065] Ms (X input )=σ(f 7*7 ([AvgPool(X input );MaxPool(X input ]))#(7);

[0066] X output =X input *M S (X input )#(8).

[0067] S4, using the preprocessed training set to train the improved UFLD model, and then inputting the test set into the trained improved UFLD model to obtain lane line detection results. Specifically, step S4 includes the following sub-steps:

[0068] S41, inputting the preprocessed training set into the improved UFLD model for training, and extracting features of different dimensions by the feature extraction layer of the fusion coordinate attention mechanism.

[0069] S42, input the extracted feature map into the auxiliary segmentation network integrated with the spatial attention mechanism for processing, and output the segmentation prediction result. In this embodiment, the feature maps output by the C2, C3, and C4 layers are upsampled using a bilinear interpolation method, and the three feature maps are spliced ​​after the dimensions are consistent. After splicing, they pass through a convolution layer and then a spatial attention mechanism. The result output by the spatial attention mechanism is input into the segmentation head, and finally the segmentation prediction result is output.

[0070] S43, input the extracted feature map into the classification detection network for processing, and output the classification prediction result. The classification detection network of this embodiment is a row classification network, which can classify the extracted feature map. For each lane line, each row of the image is regarded as a classification problem through the fully connected layer, and the probability of each position belonging to the lane line is generated, and finally the classification prediction result is output.

[0071] S44, post-processing the classification prediction results and the segmentation prediction results, converting the classification prediction results and the segmentation prediction results into corresponding category indexes, and using the loss function L total (L total =L cls +L seg +L sim λL shap ) calculates the gradients of the parameters on the network and updates the parameter values ​​using the stochastic gradient descent (SGD) optimization algorithm with the initial learning rate set to 0.1.

[0072] S45, repeat the above steps until the improved UFLD model converges and save the trained model;

[0073] S46, using the test set to test the trained network model, wherein the auxiliary segmentation network integrating the spatial attention mechanism does not work during the test, and finally outputs the lane line detection result. At the same time, the evaluation index of the test result can be calculated, and the trained model can be used for model reasoning to show the application effect of the model in the actual traffic scene, such as Figure 5 The figure shows a test image of lane lines in a challenging scenario according to an embodiment of the present invention, wherein lane lines marked by continuous points are clearly visible, and even if lane lines are blocked by vehicles, they can be accurately detected in real time, and the detection results almost coincide with the actual lane lines, with high detection accuracy.

[0074] At the same time, according to the above method, the present invention also proposes a lane line detection system based on an improved UFLD model, the system includes an image acquisition device and a processor, the image acquisition device is connected to the processor, wherein the image acquisition device is used to obtain a lane line image and upload it to the processor, the processor is integrated with an algorithm based on the method described in the present invention, and is used to perform lane line detection on the lane line image.

[0075] The present invention integrates the CA coordinate attention mechanism into the feature extraction network, with almost no computational overhead, and embeds the position information into the channel attention. It can pay attention to specific coordinates in the image in scenes without visual cues, helping the model to better focus on areas where lane lines may exist, thereby improving the accuracy and robustness of detection. The SA spatial attention mechanism is integrated into the auxiliary segmentation branch to capture long-distance information associations in space to enhance the importance of spatial features, help the model pay attention to target objects distributed along the curve, effectively handle visual changes caused by curvature, and improve the accuracy of the model for curve detection. In summary, the present invention improves the accuracy of the model's lane line detection while ensuring the real-time performance of lane line detection by improving the model, solves the problem of low lane line detection accuracy in curves and scenes without visual cues, and improves driving safety.

[0076] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.

Claims

1. A lane line detection method based on an improved UFLD model, characterized by: The method comprises the following steps: S1. Obtain a lane line dataset, where the lane line dataset includes a training set and a test set; S2. Preprocessing the lane line data set, wherein the preprocessing includes data enhancement of the lane line image and adjustment of the lane line image resolution; S3. Establish an improved UFLD model, wherein the improved UFLD model includes a feature extraction layer integrating a coordinate attention mechanism and an auxiliary segmentation network integrating a spatial attention mechanism; S4. Use the preprocessed training set to train the improved UFLD model, and then input the test set into the trained improved UFLD model to obtain lane line detection results.

2. The lane line detection method based on the improved UFLD model according to claim 1, characterized in that: In step S2, the data enhancement of the lane line image includes a small rotation of the lane line image, horizontal and vertical offsets, and random chromaticity adjustment.

3. The lane line detection method based on the improved UFLD model according to claim 1, characterized in that: In step S3, the improved UFLD model uses the ResNet-18 network as the backbone network, and the backbone network consists of a 5-layer structure, namely C0, C1, C2, C3, and C4, wherein C0 consists of a convolutional layer and a pooling layer; C1, C2, C3, and C4 are feature extraction layers, and each layer of C1, C2, C3, and C4 consists of two 3×3 residual blocks.

4. The lane line detection method based on the improved UFLD model according to claim 3 is characterized by: In step S3, the feature extraction layer structure of the fusion coordinate attention mechanism includes: The output of the last 3×3 convolutional layer in the second residual block of layer C2 is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of layer C3. The output of the last 3×3 convolutional layer in the second residual block of layer C3 is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is used as the input of the first 3×3 convolutional layer in the first residual block of layer C4. The output of the last 3×3 convolutional layer in the second residual block of the C4 layer is used as the input of the coordinate attention mechanism. At this time, the output of the coordinate attention mechanism is connected to the fully connected layer in the classification detection network.

5. The lane line detection method based on the improved UFLD model according to claim 1, characterized in that: In step S3, the auxiliary segmentation network structure integrating the spatial attention mechanism includes: the multi-dimensional feature layer output by the feature extraction layer is upsampled to output a feature layer with consistent dimension, the feature layers with consistent dimension are spliced ​​and input into the convolution layer, the output of the convolution layer is used as the input of the spatial attention mechanism, and the output of the spatial attention mechanism is connected to the segmentation head.

6. The lane line detection method based on the improved UFLD model according to claim 5, characterized in that: The multi-dimensional feature layer output by the feature extraction layer is upsampled by bilinear interpolation.

7. A lane line detection method based on an improved UFLD model according to claim 1, 4 or 5, characterized in that: The step S4 comprises the following sub-steps: S41, inputting the preprocessed training set into the improved UFLD model for training, and extracting features of different dimensions by the feature extraction layer of the fusion coordinate attention mechanism; S42, inputting the extracted feature map into the auxiliary segmentation network fused with the spatial attention mechanism for processing, and outputting the segmentation prediction result; S43, inputting the extracted feature graph into a classification detection network for processing, and outputting a classification prediction result; S44, post-processing the classification prediction results and the segmentation prediction results, converting the classification prediction results and the segmentation prediction results into corresponding category indexes, using a loss function to calculate the gradient of the parameters on the network, and updating the parameter values; S45, repeat the above steps until the improved UFLD model converges and save the trained model; S46. Use the test set to test the trained network model, wherein the auxiliary segmentation network integrating the spatial attention mechanism does not work during the test, and finally outputs the lane line detection result.

8. The lane line detection method based on the improved UFLD model according to claim 7, characterized in that: In the sub-step S44, the parameter values ​​are updated using the SGD optimization algorithm.

9. The lane line detection method based on the improved UFLD model according to claim 1, characterized in that: The lane line dataset adopts the CULane dataset.

10. A lane line detection system based on an improved UFLD model according to any one of claims 1 to 9, characterized in that: The system includes an image acquisition device and a processor, wherein the image acquisition device is connected to the processor, wherein the image acquisition device is used to acquire a lane line image and upload it to the processor, and the processor is integrated with an algorithm based on the method according to any one of claims 1 to 9, and is used to perform lane line detection on the lane line image.

Citation Information

Patent Citations

  • Lane line detection model training method, detection method, device, equipment and medium

    CN117935194A

  • Lane line segmentation method and device based on spatial context, and storage medium

    CN115205681A

  • Multi-task joint sensing network model for traffic road pavement information and detection method

    CN115797881A

  • Complex environment lane line accurate detection method based on double-feature extraction network

    CN115861951A

  • Accurate lane line detection method for enhancing curve perception

    CN116129390A