IP Library Granted Patent US 12705906
Granted Patent B2
US 12705906 · App. 18/092,518 · Granted Aug 11, 2026

Lane line recognition method, electronic device and storage medium

Inventors: Bin Wu (Beijing, CN); Kai Zhong (Beijing, CN); Tongbin Zhang (Beijing, CN); Jianzhong Yang (Beijing, CN); Zhen Lu (Beijing, CN); Deguo Xia (Beijing, CN); Jizhou Huang (Beijing, CN)
Assignee: Beijing Baidu Netcom Science Technology Co., Ltd.
G06V20/588G06V10/26G06V10/42G06V10/44G06V10/751G06V10/806
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12705906
App. No.
18/092,518
Granted
Aug 11, 2026
Kind
B2
Abstract

Provided are a lane line recognition method, an electronic device and a storage medium, relating to a technical field of artificial intelligence, in particular to technical fields of intelligent transportation, automatic driving and deep learning. The lane line recognition method includes: extracting a basic feature of an original image; recognizing at least one lane line node in the original image by using the basic feature of the original image; extracting a local feature from the basic feature of the original image by using the at least one lane line node; fusing the basic feature and the local feature; and recognizing a lane line in the original image based on a fused result.

Claims (82)

1 . A lane line recognition method, comprising:

extracting a basic feature of an original image;

recognizing at least one lane line node in the original image by using the basic feature of the original image;

extracting a local feature from the basic feature of the original image by using the at least one lane line node;

fusing the basic feature and the local feature; and

recognizing a lane line in the original image based on a fused result, by:

determining lane line coding information of the original image based on the fused result; and

recognizing the lane line in the original image by using the lane line coding information;

wherein the lane line coding information of the original image comprises first information of each pixel in the original image, and the first information of each pixel in the original image comprises at least one of:

whether the pixel is the lane line node,

a quantity of adjacent lane line nodes of the pixel, or

a positional relationship of the pixel and an adjacent lane line node.

2 . The method of claim 1 , wherein first information of a specific pixel is represented by a three-dimensional vector, and

two elements in the three-dimensional vector represent a position of the specific pixel in the original image, and another element in the three-dimensional vector represents the first information of the specific pixel.

3 . The method of claim 1 , wherein in a case where the pixel is the lane line node, the positional relationship of the pixel and the adjacent lane line node comprises:

a deflection angle of a connecting line between the pixel and the adjacent lane line node relative to a coordinate axis of the original image; and

a length of the connecting line between the pixel and the adjacent lane line node.

4 . The method of claim 1 , wherein extracting the local feature from the basic feature of the original image by using the lane line node comprises:

constructing a plurality of local boxes by using the lane line node; and

segmenting the basic feature of the original image by using the plurality of local boxes, to obtain the local feature.

5 . The method of claim 4 , wherein constructing the plurality of local boxes by using the lane line node comprises:

constructing four local boxes by using the lane line node, so that the lane line node is located at a lower right corner, a lower left corner, an upper right corner or an upper left corner of respective one of the four local boxes;

wherein dimensions of the four local boxes are preset values.

6 . The method of claim 5 , wherein the basic feature is represented by a first vector, and the local feature is represented by a second vector, and

fusing the basic feature and the local feature comprises: combining the first vector and the second vector to obtain a third vector.

7 . The method of claim 1 , wherein recognizing the at least one lane line node in the original image by using the basic feature of the original image comprises:

determining node distribution information corresponding to the original image by using the basic feature of the original image; wherein the node distribution information represents the at least one lane line node in the original image and comprises a type of each pixel in the original image.

8 . An electronic device, comprising:

at least one processor; and

a memory connected in communication with the at least one processor,

wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute operations comprising:

extracting a basic feature of an original image;

recognizing at least one lane line node in the original image by using the basic feature of the original image;

extracting a local feature from the basic feature of the original image by using the at least one lane line node;

fusing the basic feature and the local feature; and

recognizing a lane line in the original image based on a fused result, by:

determining lane line coding information of the original image based on the fused result; and

recognizing the lane line in the original image by using the lane line coding information;

wherein the lane line coding information of the original image comprises first information of each pixel in the original image, and the first information of each pixel in the original image comprises at least one of:

whether the pixel is the lane line node,

a quantity of adjacent lane line nodes of the pixel, or

a positional relationship of the pixel and an adjacent lane line node.

9 . The electronic device of claim 8 , wherein first information of a specific pixel is represented by a three-dimensional vector, and

two elements in the three-dimensional vector represent a position of the specific pixel in the original image, and another element in the three-dimensional vector represents the first information of the specific pixel.

10 . The electronic device of claim 8 , wherein in a case where the pixel is the lane line node, the positional relationship of the pixel and the adjacent lane line node comprises:

a deflection angle of a connecting line between the pixel and the adjacent lane line node relative to a coordinate axis of the original image; and

a length of the connecting line between the pixel and the adjacent lane line node.

11 . The electronic device of claim 8 , wherein extracting the local feature from the basic feature of the original image by using the lane line node comprises:

constructing a plurality of local boxes by using the lane line node; and

segmenting the basic feature of the original image by using the plurality of local boxes, to obtain the local feature.

12 . The electronic device of claim 11 , wherein constructing the plurality of local boxes by using the lane line node comprises:

constructing four local boxes by using the lane line node, so that the lane line node is located at a lower right corner, a lower left corner, an upper right corner or an upper left corner of respective one of the four local boxes;

wherein dimensions of the four local boxes are preset values.

13 . The electronic device of claim 12 , wherein the basic feature is represented by a first vector, and the local feature is represented by a second vector, and

fusing the basic feature and the local feature comprises: combining the first vector and the second vector to obtain a third vector.

14 . The electronic device of claim 8 , wherein recognizing the at least one lane line node in the original image by using the basic feature of the original image comprises:

determining node distribution information corresponding to the original image by using the basic feature of the original image; wherein the node distribution information represents the at least one lane line node in the original image and comprises a type of each pixel in the original image.

15 . A non-transitory computer-readable storage medium storing a computer instruction thereon, wherein the computer instruction is used to cause a computer to execute a method comprising:

extracting a basic feature of an original image;

recognizing at least one lane line node in the original image by using the basic feature of the original image;

extracting a local feature from the basic feature of the original image by using the at least one lane line node;

fusing the basic feature and the local feature; and

recognizing a lane line in the original image based on a fused result, by:

determining lane line coding information of the original image based on the fused result; and

recognizing the lane line in the original image by using the lane line coding information;

wherein the lane line coding information of the original image comprises first information of each pixel in the original image, and the first information of each pixel in the original image comprises at least one of:

whether the pixel is the lane line node,

a quantity of adjacent lane line nodes of the pixel, or

a positional relationship of the pixel and an adjacent lane line node.

16 . The non-transitory computer-readable storage medium of claim 15 , wherein first information of a specific pixel is represented by a three-dimensional vector, and

two elements in the three-dimensional vector represent a position of the specific pixel in the original image, and another element in the three-dimensional vector represents the first information of the specific pixel.

17 . The non-transitory computer-readable storage medium of claim 15 , wherein in a case where the pixel is the lane line node, the positional relationship of the pixel and the adjacent lane line node comprises:

a deflection angle of a connecting line between the pixel and the adjacent lane line node relative to a coordinate axis of the original image; and

a length of the connecting line between the pixel and the adjacent lane line node.

18 . The non-transitory computer-readable storage medium of claim 15 , wherein extracting the local feature from the basic feature of the original image by using the lane line node comprises:

constructing a plurality of local boxes by using the lane line node; and

segmenting the basic feature of the original image by using the plurality of local boxes, to obtain the local feature.

19 . The non-transitory computer-readable storage medium of claim 18 , wherein constructing the plurality of local boxes by using the lane line node comprises:

constructing four local boxes by using the lane line node, so that the lane line node is located at a lower right corner, a lower left corner, an upper right corner or an upper left corner of respective one of the four local boxes;

wherein dimensions of the four local boxes are preset values.

20 . The non-transitory computer-readable storage medium of claim 19 , wherein the basic feature is represented by a first vector, and the local feature is represented by a second vector, and

fusing the basic feature and the local feature comprises: combining the first vector and the second vector to obtain a third vector.