# US 2024/0177496 A1 · Method for recognizing anomalous lane line 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 2024/0177496 A1
- Document ID: US20240177496A1
- Status: Published application
- Kind: A1
- Application number: 18/114,929
- Filed: 2023-02-27
- Published: 2024-05-30
- Earliest claimed: 2022-11-30
- Assignees: Hon Hai Precision Industry Co., Ltd.
- Applicants: Hon Hai Precision Industry Co., Ltd.
- Inventors: WAN-JHEN LEE; CHIN-PIN KUO
- Web page: https://patentgrep.com/patent/US20240177496A1

## CPC

- G06V 20/588: {Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road}
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06T 2207/30256: Lane; Road marking
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present disclosure relates to a field of intelligent driving technology field, and provides a method for recognizing anomalous lane line and an electronic device obtaining lane line recognition results of lane line images. The method includes: determining lane lines in the lane line images according to the lane line recognition results; determining one of the lane lines having a length greater than a first length threshold and having a straight line from the lane lines as the first lane line; masking the first lane line and determining mark points of the first lane; determining marking lines according to the mark points and the first lane line; dividing each of the lane line images according to the marking lines and obtaining a lane spacing area; and determining the lane lines in the lane spacing area of the lane line recognition results as abnormal lane lines.

## Claims

### Claim 1

A method for recognizing anomalous lane line comprising:
obtaining lane line recognition results of lane line images;
determining lane lines in the lane line images according to the lane line recognition results;
determining one of the lane lines having a length greater than a first length threshold and having a straight line from the lane lines as the first lane line;
masking the first lane line and determining mark points of the first lane;
determining marking lines according to the mark points and the first lane line;
dividing each of the lane line images according to the marking lines and obtaining a lane spacing area; and
determining the lane lines in the lane spacing area of the lane line recognition results as abnormal lane lines.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein dividing each of the lane line images according to the marking lines and obtaining the lane spacing area, comprises:
determining a second lane line corresponding to the first lane line according to the marking line; and
determining an area between the first lane line and the second lane line in each of the lane line images as the lane spacing area.

### Claim 3 (depends on 2)

The method as recited in claim 2, wherein determining the second lane line corresponding to the first lane line according to the marking line, comprises:
determining one lane line intersecting the marking lines and adjacent to the first lane line as the second lane line corresponding to the first lane line.

### Claim 4 (depends on 3)

The method as recited in claim 3, wherein determining the lane line intersecting the marking lines and adjacent to the first lane line as the second lane line corresponding to the first lane line, comprises:
when the lane line intersects the marking lines and is adjacent to the first lane line, determining a length of the lane line;
when the length of the lane line is greater than a second length threshold, determining the lane line as the second lane line corresponding to the first lane line.

### Claim 5 (depends on 3)

The method as recited in claim 3, wherein the second lane line is a lane line located at a target orientation of the first lane line.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein masking the first lane line and determining the mark points of the first lane, comprises:
marking the first lane line according to a target length interval, and determining the mark points.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein determining one of the lane lines having the length greater than the first length threshold and having the straight line from the lane lines as the first lane line, comprises:
determining one lane line having a length greater than the first length threshold and being the closest to a vehicle in the lane lines as the first lane line.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein determining the marking lines according to the mark points and the first lane line, comprises:
determining a straight line passing through the mark points and perpendicular to the first lane line as the marking lines, and both ends of each of the marking lines intersecting with two sides of one of the lane line images respectively.

### Claim 9

An electronic device comprising:
a processor; and
a non-transitory storage medium coupled to the processor and configured to store a plurality of instructions, which cause the processor to:
obtain lane line recognition results of lane line images;
determine lane lines in the lane line images according to the lane line recognition results;
determine one of the lane lines having a length greater than a first length threshold and having a straight line from the lane lines as the first lane line;
mask the first lane line and determine mark points of the first lane;
determine marking lines according to the mark points and the first lane line;
divide each of the lane line images according to the marking lines and obtain a lane spacing area; and
determine the lane lines in the lane spacing area of the lane line recognition results as abnormal lane lines.

### Claim 10 (depends on 9)

The electronic device as recited in claim 9, wherein the plurality of instructions are further configured to cause the processor to:
determine a second lane line corresponding to the first lane line according to the marking line; and
determine an area between the first lane line and the second lane line in each of the lane line images as the lane spacing area.

### Claim 11 (depends on 10)

The electronic device as recited in claim 10, wherein the plurality of instructions are further configured to cause the processor to:
determine one lane line intersecting the marking lines and adjacent to the first lane line as the second lane line corresponding to the first lane line.

### Claim 12 (depends on 11)

The electronic device as recited in claim 11, wherein the plurality of instructions are further configured to cause the processor to:
when the lane line intersects the marking lines and is adjacent to the first lane line, determine a length of the lane line;
when the length of the lane line is greater than a second length threshold, determine the lane line as the second lane line corresponding to the first lane line.

### Claim 13 (depends on 11)

The electronic device as recited in claim 11, wherein the second lane line is a lane line located at a target orientation of the first lane line.

### Claim 14 (depends on 9)

The electronic device as recited in claim 9, wherein the plurality of instructions are further configured to cause the processor to:
mark the first lane line according to a target length interval, and determine the mark points.

### Claim 15 (depends on 9)

The electronic device as recited in claim 9, wherein the plurality of instructions are further configured to cause the processor to:
determine one lane line having a length greater than the first length threshold and being the closest to a vehicle in the lane lines as the first lane line.

### Claim 16 (depends on 9)

The electronic device as recited in claim 9, wherein the plurality of instructions are further configured to cause the processor to:
determine a straight line passing through the mark points and perpendicular to the first lane line as the marking lines, and both ends of each of the marking lines intersect with two sides of one of the lane line images respectively.

### Claim 17

A non-transitory storage medium having stored thereon instructions that, when executed by at least one processor of an electronic device, causes the least one processor to execute instructions of a method for recognizing anomalous lane line, the method comprising:
obtaining lane line recognition results of lane line images;
determining lane lines in the lane line images according to the lane line recognition results;
determining one of the lane lines having a length greater than a first length threshold and having a straight line from the lane lines as the first lane line;
masking the first lane line and determining mark points of the first lane;
determining marking lines according to the mark points and the first lane line;
dividing each of the lane line images according to the marking lines and obtaining a lane spacing area; and
determining the lane lines in the lane spacing area of the lane line recognition results as abnormal lane lines.

### Claim 18 (depends on 17)

The non-transitory storage medium as recited in claim 17, wherein the method comprising:
determining a second lane line corresponding to the first lane line according to the marking line; and
determining an area between the first lane line and the second lane line in each of the lane line images as the lane spacing area.

### Claim 19 (depends on 18)

The non-transitory storage medium as recited in claim 18, wherein determining the second lane line corresponding to the first lane line according to the marking line, comprises:
determining one lane line intersecting the marking lines and adjacent to the first lane line as the second lane line corresponding to the first lane line.

### Claim 20 (depends on 19)

The non-transitory storage medium as recited in claim 19, wherein determining the lane line intersecting the marking lines and adjacent to the first lane line as the second lane line corresponding to the first lane line, comprises:
when the lane line intersects the marking lines and is adjacent to the first lane line, determining a length of the lane line;
when the length of the lane line is greater than a second length threshold, determining the lane line as the second lane line corresponding to the first lane line.
