Patent attributes
The present embodiments relate to efficient localization of a vehicle within a lane region. An imaging device onboard the vehicle may capture an image stream depicting an environment surrounding the vehicle. An image may be inspected to identify pixel bands indicative of lane markings of a road depicted in the image. Based on the identified pixel bands, a lane region indicating a lane of a roadway can be extracted. A lane drift metric may be generated that indicates an offset of the vehicle relative to a center of the lane region. An output action may be initiated based on the offset indicated in the lane drift metric. The lane region can be translated from a first frame to a second frame providing a top-down perspective of the vehicle within the lane region using a transformation matrix to assist in efficiently deriving the lane drift metric.

