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:
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.
My goal in this post was to evaluate this new approach to lane detection. On the original image, lanes detected nicely again:
The next test was to see if an image that failed with the previous approach, would properly detect lanes.
Another example of successful detection, this time at night:
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.
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.