GithubHelp home page GithubHelp logo

avatar196kc / project2_advanced_lane_lines Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foamofthesea/project2_advanced_lane_lines

0.0 1.0 0.0 295.6 MB

Project 2 for Udacity Self-Driving Car Engineer Nanodegree, which involves finding lane lines and their curvature, as well as the car's location wrt the lane center.

License: MIT License

Jupyter Notebook 99.90% Python 0.10%

project2_advanced_lane_lines's Introduction

Project 2: Advanced Lane Lines

Project 2 for Udacity Self-Driving Car Engineer Nanodegree, which involves finding lane lines and their curvature, as well as the car's location with respect to the lane center. To do this, the camera is first calibrated using pictures of chessboard printouts provided for the project. Images are then converted to binary using careful color space and gradient thresholding. Then, the binary images are perspective warped so that we are viewing the road from the top down. From this perspective, we are able to fit polynomial curves to the lines. From these polynomials, we can visualize the lane, as well as determine the lane curvature radius and the vehicle offset from the center of the lane.

For a more detailed description of each of these steps, see the writeup.md file in this repository. The workflow can be observed by following the numbered IPython notebooks.

To use the pipeline, import it into a python file/notebook with from lane_finder import Lane_Finder, and follow the docstrings.

Example Frame:

Example

Link to my video result

Contents

  • 1_Pipeline_Development.ipynb - the first notebook for the project, which contains all of the workflow involved in developing the components of the pipeline, including calibration, perspective transformation, and polynomial fitting. A class object is drafted to fulfill these pipeline steps, and then tested on the project videos.
  • 2_Pipeline_Refinement.ipynb - the second notebook for the project, where the pipeline class object is refined for better functionality, and attempts are made to expand its abilities to handle the challenge videos. Comments on possible future improvements are made.
  • writeup.md - my write up for the project.
  • lane_finder.py - file which contains the code of the refined pipeline.
  • output_images/ - folder containing all of the output images and videos from the pipeline.
  • camera_cal/ - folder containing the calibration files for the camera.
  • test_images/ - folder containing test images for the project.
  • examples/ - folder containg example outputs provided for the project.

project2_advanced_lane_lines's People

Contributors

foamofthesea avatar

Watchers

James Cloos 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.