Giter Site home page Giter Site logo

vipinindkumar / self-driving Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 25.85 MB

Self-Driving - Lane Detection: a program to detect lanes in a video of a road

Home Page: https://vipinindkumar.github.io/2selfdriving.html

Python 100.00%
lane-detection opencv numpy python

self-driving's Introduction

Self-Driving - Lane Detection: program to detect lanes in a video

Lane Detection on National Highway:

NH Lane detection

Version 1.0:

1.0

  • Added smoothness of the average line between frames, to make the average line much more stable

Version 0.9:

0.9

  • Added a average of all the lines, as a single line in the video

Version 0.85:

0.85

  • Increase the quality of lines predicted by dilating the frame after canny function, which increases the width of the foreground objects making it easier to capture lines

Version 0.8:

0.8

  • Improve lines detection, using improved parameters values for HoughLInesP

Version 0.5:

0.5

Every frame from the video:

  • is turned into grey-scale version using cv2.cvtColor function
  • Finds edges in the frame using the [Canny86] algorithm by computing gradient, to identify change in pixels
  • Using region_wants function discards the non-important areas of the frame for lane detection
  • cv2.HoughLinesP to detect different lines passing through points detected by canny method
  • Draw these lines on blank image of frame's size
  • Use cv2.addWeighted function, to combine the original frame and empty image with drawn lines

self-driving's People

Contributors

vipinindkumar avatar

Watchers

 avatar  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.