# US 2020/0394422 A1 · Lane detection apparatus and method and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394422 A1
- Document ID: US20200394422A1
- Status: Published application
- Kind: A1
- Application number: 16/887,401
- Filed: 2020-05-29
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Xiaoyan BU; Zejing HAN
- Web page: https://patentgrep.com/patent/US20200394422A1

## CPC

- G06V 20/588: {Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road}
- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V 10/50: by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
- G06V 10/247: {by affine transforms, e.g. correction due to perspective effects; Quadrilaterals, e.g. trapezoids}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Embodiments of this disclosure provide a lane detection apparatus and method and an electronic device. First, preprocessing is performed based on semantic segmentation to remove interference objects in a binary image, which may improve accuracy of a lane line detection and may be applicable to various road scenarios, and the result based on semantic segmentation may automatically extract a lane line region image containing one or more lane lines, thereby automatically performing perspective transformation to perform search and fitting on the one or more lane lines, including achieving multi-lane detection. And furthermore, by synthesizing detection results of a plurality of input images, accuracy and integrity of the lane detection may further be improved.

## Claims

### Claim 1

An apparatus, comprising:
a processor to couple to a memory and to,
detect a plurality of input images to obtain respective lane line detection results indicating one or more lane lines in the input images; and
obtain a synthetical lane line detection result according to the obtained one or more lane lines in the input images corresponding to the respective lane line detection results,
wherein to obtain the one or more lane lines of an input image among the input images, the processor is to,
determine regions of objects of various types in the input image based on a semantic segmentation;
remove interference objects from a binary image of the input image according to the regions of objects of various types in the input image, to obtain a preprocessed binary image;
extract a lane region image from the preprocessed binary image according to the regions of objects of various types in the input image;
perform a perspective transformation on the extracted lane region image to obtain an overhead-view image;
perform a search of one or more lane lines and a fitting on the overhead-view image to determine one or more lane lines in the overhead-view image; and
perform a perspective inverse transformation on the overhead-view image with the one or more lane lines in the overhead-view image, to obtain the one or more lane lines in the input image.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein to obtain the preprocessed binary image, the processor is to:
obtain the binary image of the input image; and
remove the interference objects from the binary image according to locations of the interference objects in the regions of objects of various types.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein to extract the lane region, the processor is to:
extract images of regions where one or more lane lines in the preprocessed binary image are located according to locations of one or more lane lines in the regions of objects of various types; and
correct an image among the extracted images to obtain the lane region image.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein to perform the search and fitting to determine the one or more lane lines in the overhead-view image, the processor is to:
calculate a histogram of accumulated pixel values in the overhead-view image;
determine a number of one or more lane lines in the overhead-view image according to a number of waveforms in the histogram;
search the one or more lane lines in the overhead-view image by using a sliding window, and detect pixels of non-zero values; and
fit the detected pixels of non-zero values to determine the one or more lane lines in the overhead-view image.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the processor is to:
determine lengths of line segments and/or lengths of intervals between the line segments according to a lane line among the one or more lane lines in the overhead-view image; and
determine a type of the lane line according to the lengths of line segments and/or the lengths of intervals between the line segments.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the processor is to,
determine the type of the lane line as a solid lane line when the lengths of line segments and/or the lengths of intervals between the line segments satisfy any one or combination of conditions including,
a ratio of a longest line segment to a shortest line segment in the lane lines being greater than a first threshold;
a length of the longest line segment in the lane lines being less than a second threshold; or
an average value of the intervals between the line segments in the lane lines being less than a third threshold; or
determine the type of the lane line as a dotted lane line.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein,
the processor is to synthesize the respective lane line detection results of the input images where all detectable number of lane lines are detected in an input image among the input images, to obtain the synthetical lane detection result.

### Claim 8 (depends on 5)

The apparatus according to claim 5, wherein,
the processor is to determine the type of the lane line according to proportions of types of one or more lane lines respectively determined in overhead-view images corresponding to the input images.

### Claim 9 (depends on 1)

An electronic device, comprising the apparatus as claimed in claim 1.

### Claim 10

A lane detection method, comprising:
by a processor,
detecting a plurality of input images to obtain respective lane line detection results indicating one or more lane lines in the input images; and
obtaining a synthetical lane line detection result according to the obtained one or more lane lines in the input images corresponding to the respective lane line detection results;
wherein, to obtain the one or more lane lines of an input image among the input images, the processor is to,
determining regions of objects of various types in the input image based on a semantic segmentation;
removing interference objects from a binary image of the input image according to the regions of objects of various types in the input image, to obtain a preprocessed binary image;
extracting a lane region image from the preprocessed binary image according to the regions of objects of various types in the input image;
performing a perspective transformation on the extracted lane region image to obtain an overhead-view image;
performing a search of one or more lane lines and a fitting on the overhead-view image, to determine one or more lane lines in the overhead-view image; and
performing a perspective inverse transformation on the overhead-view image with the one more lane lines in the overhead-view, to obtain the one ore more lane lines in the input images.
