More Lane Detection

adopting a better strategy

Posted on June 13, 2017

This is a follow-up to my first attempt at lane detection, based on a KDNuggets article, that resulted in some hilarious results such as this: Sad Path 1

Armed with some new dashcam samples from Google Images, I discovered better work by Naoki Shibuya for identifying the yellow and white lines within a more reasonable area of interest.

Improved Codebase

My goal in this post was to evaluate this new approach to lane detection. On the original image, lanes detected nicely again: Happy Path

The next test was to see if an image that failed with the previous approach, would properly detect lanes. Improved Detect

Another example of successful detection, this time at night: Night Detect


Overall, I’m quite pleased by the improvement in lane detection offered by this approach from Naoki Shibuya. By better identifying the white and yellow line colors, along with improved area of interest selection, better results were obtained.

Next Steps

However, there is still room for improvement as many of the sample images still failed to identify lines or detected lanes incorrectly. Notable is number of lines detected at nearly horizontal, at 90 degrees to the direction of travel. Horizontal

More in this series…