Skip to content

Latest commit

 

History

History
83 lines (44 loc) · 3.34 KB

writeup_template.md

File metadata and controls

83 lines (44 loc) · 3.34 KB

Finding Lane Lines on the Road

Writeup Template

You can use this file as a template for your writeup if you want to submit it as a markdown file. But feel free to use some other method and submit a pdf if you prefer.


Finding Lane Lines on the Road

The goals / steps of this project are the following:

  • Make a pipeline that finds lane lines on the road
  • Reflect on my work in a written report

Reflection

1. Describe your pipeline. As part of the description, explain how you modified the draw_lines() function.

My pipeline consisted of 6 steps. First, I converted the images to grayscale: Grayscale

then I blur the image to filter out any smll areas where the clolours transition in a big values: Blured Grayscale

After that I detect all the edges in the image: Edges

Then I filter the area of inerest to work and detect the lanes later on: Masked Edges

I Draw the detected lines on an empty enviroment to work on: Lines

I projected the detected lines on the orginal image to get a better understanding of what each detected line represent: Filtered Lines

In order to draw a single line on the left and right lanes, I modified the draw_lines() function by calculating the slopes of the lines and filter the ones that satisfy the slope that represent a left/right lanes then group th e lines with negative valuse and avrage them and do the same for the lines with positive values.

After finding the avrage slope, I draw two big lines that represent the detected lanes on the original image.

Output

2. Identify potential shortcomings with your current pipeline

One potential shortcoming would be that the lines drwan on the vedio are jerky when going from one frme to another.

Another shortcoming could be that the method used is a liitle bit slow and may also not detect all the lanes on the street which cause the drwan line to be a little bit tilted/shifted away from the actual lanes.

3. Suggest possible improvements to your pipeline

A possible improvement would be that have a better parameters for the hough lines filter. whcih may help in filtering out noise and detect more lanes.

Another potential improvement could be that the line fitting method used is the not the most efficent way. but its the one I understood. Maybe if I spent more time on that area I would've come with a better solution.

4. Challange

I think I did a decent work with tuning my pipline to be able to detect lanes in the challange vedio. another trick was resizing the vedio stream to a smaller size. and also the polygon edges also needed to be changed to focus on the area of interest in the vedio, and not forgetting retunning the hough lines detector:

Challange