Lane change assistance method, vehicle-mounted device and readable storage medium
AssigneeChiun Mai Communication Systems, Inc.
InventorsHsiu-Hua Yen, Jian-Cheng Lin, Chih-Pu Hsu
Life of this patent
Estimating the term…
Abstract
A lane change assistance method is provided. The method includes recognizing styles of two traffic lines corresponding to a lane where a vehicle is located. Whether the vehicle violates traffic rules is determined according to the styles of the two traffic lines when the vehicle is performing an operation of changing lanes. A prompt is issued when the vehicle violates traffic rules.
Claims9
A lane change assistance method applicable to a vehicle-mounted device, the method comprising:
- locating a lane where a vehicle is located on a high-precision map using a positioning device;
- obtaining styles of two traffic lines corresponding to the lane from the high-precision map, wherein the two traffic lines comprise a left traffic line at a left edge of the lane, and a right traffic line at a right edge of the lane;
- obtaining two total number of pixels in real time, by detecting a total number of pixels occupied by a shortest straight line between the left traffic line and a left edge of the vehicle in an image captured by at least one camera and detecting a total number of pixels occupied by a shortest straight line between the right traffic line and a right edge of the vehicle in the image;
- determining whether the vehicle is performing the operation of changing lanes based on the two total number of pixels;
- determining whether the vehicle violates traffic rules according to the styles of the two traffic lines if it is determined that the vehicle is performing the operation of changing lanes;
- and
- issuing a prompt if it is determined that the vehicle violates traffic rules.
A vehicle-mounted device comprising:
- a storage device;
- and
- at least one processor;
- wherein the storage device stores one or more programs, which when executed by the at least one processor, cause the at least one processor to:
- locate a lane where a vehicle is located on a high-precision map using a positioning device;
- obtain styles of two traffic lines corresponding to the lane from the high-precision map, wherein the two traffic lines comprise a left traffic line at a left edge of the lane, and a right traffic line at a right edge of the lane;
- obtain two total number of pixels in real time, by detecting a total number of pixels occupied by a shortest straight line between the left traffic line and a left edge of the vehicle in an image captured by at least one camera and detecting a total number of pixels occupied by a shortest straight line between the right traffic line and a right edge of the vehicle in the image;
- determine whether the vehicle is performing the operation of changing lanes based on the two total number of pixels;
- determine whether the vehicle violates traffic rules according to the styles of the two traffic lines if it is determined that the vehicle is performing the operation of changing lanes;
- and
- issue a prompt if it is determined that the vehicle violates traffic rules.
A non-transitory storage medium having instructions stored thereon, when the instructions are executed by a processor of a vehicle-mounted device, the processor is configured to perform a lane change assistance method, wherein the method comprises:
- locating a lane where a vehicle is located on a high-precision map using a positioning device;
- obtaining styles of two traffic lines corresponding to the lane from the high-precision map, wherein the two traffic lines comprise a left traffic line at a left edge of the lane, and a right traffic line at a right edge of the lane;
- obtaining two total number of pixels in real time, by detecting a total number of pixels occupied by a shortest straight line between the left traffic line and a left edge of the vehicle in an image captured by at least one camera and detecting a total number of pixels occupied by a shortest straight line between the right traffic line and a right edge of the vehicle in the image;
- determining whether the vehicle is performing the operation of changing lanes based on the two total number of pixels;
- determining whether the vehicle violates traffic rules according to the styles of the two traffic lines if it is determined that the vehicle is performing the operation of changing lanes;
- and
- issuing a prompt if it is determined that the vehicle violates traffic rules.
Dependencies are inferred from the claim text.