The recognition of pathways and identification of cars was seen with a perspective camera, which recognizes trajectories and predicts control points. The aim is to propose the location of the path. In this paper, the lane detection algorithm Steering Assistance System(SAS) is introduced. Guiding helps to learn driving and anticipates the control points and defines the direction that makes it easy to learn in a potential way and a lane-keeping assistance system which warns the driver on unintended lane departures. Path keeping is an important element for self-driving cars. This article describes the beginning to end adapting the approach to holding the car in the right direction.