CPC B60W 50/14 (2013.01) [B60W 30/18163 (2013.01); B60W 40/06 (2013.01); G06N 20/00 (2019.01); G06V 10/56 (2022.01); G06V 20/588 (2022.01); B60W 2050/143 (2013.01); B60W 2050/146 (2013.01); B60W 2552/53 (2020.02); B60W 2555/60 (2020.02); B60W 2556/25 (2020.02); B60W 2556/40 (2020.02)] | 9 Claims |
1. 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.
|