Application to detect the boundaries and orientation of a road lane analysing video taken from a car. Line edges are obtained using Canny edge detection and then rays are casted to find the corners of the quadrilateral. Contour following is used to produce the right margin of the lane and the road direction is obtained calculating the area between this line and the linear approximation given by the quadrilateral. The system was implemented in C++ with OpenCV.

Advertisements