Method and apparatus for early warning of vehicle offset
First Claim
Patent Images
1. A method for early warning of vehicle offset, the method comprising:
- acquiring collected road image to be detected;
obtaining a corresponding grayscale image by performing grayscale processing on the road image to be detected;
determining a target lane line within the grayscale image; and
determining whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition,wherein the step of determining a target lane line within the grayscale image comprises;
determining a near field-of-view region of the grayscale image;
extracting a lane line feature image of the near field-of-view region;
obtaining the target lane line by fitting lane line features in the lane line feature image; and
acquiring a target lane line angle,wherein the step of determining whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition comprises;
determining a first distance between the vehicle and the target lane line according to the target lane line; and
issuing the early warning of vehicle offset when the first distance satisfies a first threshold distance condition, andwherein after the step of determining a target lane line within the grayscale image, the method further comprises;
extracting multiple feature points in the grayscale image;
inputting the multiple feature points into a preset detector to determine entity object information; and
determining a second distance between the vehicle and an entity object according to the entity object information, and issuing the early warning of vehicle offset when the second distance satisfies a second threshold distance condition.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method and apparatus for early warning of vehicle offset. The method includes: acquiring collected road image to be detected; obtaining a corresponding grayscale image by performing grayscale processing on the road image to be detected; determining a target lane line within the grayscale image; and determining whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition.
8 Citations
12 Claims
-
1. A method for early warning of vehicle offset, the method comprising:
-
acquiring collected road image to be detected; obtaining a corresponding grayscale image by performing grayscale processing on the road image to be detected; determining a target lane line within the grayscale image; and determining whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition, wherein the step of determining a target lane line within the grayscale image comprises; determining a near field-of-view region of the grayscale image; extracting a lane line feature image of the near field-of-view region; obtaining the target lane line by fitting lane line features in the lane line feature image; and acquiring a target lane line angle, wherein the step of determining whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition comprises; determining a first distance between the vehicle and the target lane line according to the target lane line; and issuing the early warning of vehicle offset when the first distance satisfies a first threshold distance condition, and wherein after the step of determining a target lane line within the grayscale image, the method further comprises; extracting multiple feature points in the grayscale image; inputting the multiple feature points into a preset detector to determine entity object information; and determining a second distance between the vehicle and an entity object according to the entity object information, and issuing the early warning of vehicle offset when the second distance satisfies a second threshold distance condition. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for early warning of vehicle offset, comprising:
-
a processor; a memory having stored thereon instructions which, when executed by the processor, cause the processor to; acquire collected road image to be detected; obtain a corresponding grayscale image by performing grayscale processing on the road image to be detected; determine a target lane line within the grayscale image; and determine whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition, wherein the instructions, when executed by the processor, further cause the processor to; determine a near field-of-view region of the grayscale image; extract a lane line feature image of the near field-of-view region; obtain the target lane line by fitting lane line features in the lane line feature image; and acquire a target lane line angle, wherein the instructions, when executed by the processor, further cause the processor to; determine a first distance between the vehicle and the target lane line according to the target lane line; and issue the early warning of vehicle offset when the first distance satisfies a first threshold distance condition, and wherein the instructions, when executed by the processor, further cause the processor to; extract multiple feature points in the grayscale image; input the multiple feature points into a preset detector to determine entity object information; and determine a second distance between the vehicle and an entity object according to the entity object information, and issue the early warning of vehicle offset when the second distance satisfies a second threshold distance condition. - View Dependent Claims (7, 8, 9)
-
-
10. A vehicle, comprising:
-
a sensor configured to collect a road image to be detected; a processor communicatively coupled to the sensor; a memory having stored thereon instructions which, when executed by the processor, cause the processor to; acquire collected road image to be detected from the sensor; obtain a corresponding grayscale image by performing grayscale processing on the road image to be detected; determine a target lane line within the grayscale image; and determine whether to issue an early warning of vehicle offset according to the target lane line and an early warning trigger condition, wherein the instructions, when executed by the processor, further cause the processor to; determine a near field-of-view region of the grayscale image; extract a lane line feature image of the near field-of-view region; obtain the target lane line by fitting lane line features in the lane line feature image; and acquire a target lane line angle, wherein the instructions, when executed by the processor, further cause the processor to; determine a first distance between the vehicle and the target lane line according to the target lane line; and issue the early warning of vehicle offset when the first distance satisfies a first threshold distance condition, and wherein the instructions, when executed by the processor, further cause the processor to; extract multiple feature points in the grayscale image; input the multiple feature points into a preset detector to determine entity object information; and determine a second distance between the vehicle and an entity object according to the entity object information, and issue the early warning of vehicle offset when the second distance satisfies a second threshold distance condition. - View Dependent Claims (11, 12)
-
Specification