Git Product home page Git Product logo

self-driving-car's Introduction

Finding Lane Lines on the Road


Reflection

1. My pipeline

My pipeline consisted of 5 steps. First, I converted the images to grayscale, applied gaussian blur,

canny edge detection, image mask, then hough line transformation.

In order to draw a single line on the left and right lanes, I modified the draw_lines() function.

I used polyfit and poly1d function from numpy library to extrapolate line segments into a

single straight line for each lanes. I assigned points from lines to either left or right lane group,

by their gradient.

For the optional challenge, the biggest obstacle was that the front hood of the car was in the video,

interfering with lane detection. I first thought of removing bottom part of the video, but it led to

performance drop for other videos. For the submission, I set a gradient magnitude limit of 0.5 to remove

edges caused by the front hood, which made the pipe line more robust.

Fig1. Grayscaled image

Fig2. Image after applying gaussian blur

Fig3. Extracted lane.

2. Identify potential shortcomings with your current pipeline

One potential shortcoming would be that it may malfunction on extremely sharp curves,

due to its gradient limit.

3. Suggest possible improvements to your pipeline

A possible improvement would be to recalibrate the camera on start-up.

Analyze the scene before driving and adjust the camera angle to optimal position.

After that we can remove the gradient limit.

self-driving-car's People

Contributors

ryan-keenan avatar brok-bucholtz avatar andrewpaster avatar moe-elsadig avatar hanjulee0119 avatar dmlicht avatar mikaelcarpenter avatar bayne avatar quadhd avatar domluna avatar jeremy-shannon avatar norman-thomas avatar rasphilco avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.