Coder Social home page Coder Social logo

bsnake_lane_detection's Introduction

C++ Implementation For B-snake Lane Detection

This is the code for lane detection based on the bsnake paper by Wang et al.

What is B-Snake based lane model

  • It described the perspective effect of parallel lines is constructed with dual external forces for generic lane boundary or marking
  • It is able to describe a wider range of lane structures than other lane models such as straight and parabolic models.
  • It is robust against shadows, noises and more due to the use of parallel knowledge of roads on the ground plane.
  • The lane detection problem is formulated by determining the set of lane model control points.

Canny/Hough Estimation of Vanishing Points (CHEVP) Algorithm

  • It is a robust algorithm presented for providing a good initial position for B-Snake lane Model which robust to noises, shadows, and illumination variations in the captured road images.
  • It is also applicable to both marked and unmarked, dash paint line and solid paint line roads.

How CHEVP algorithm Works

  • The road is assumed to have two parallel boundaries on the ground, and in the short horizontal band of image, the road is approximately straight. As a result of the perspective projection, the road boundaries in the image plane should intersect at a shared vanishing point on the horizon.

  • There are five processing stages in CHEVP algorithms:

  1. Edge pixel extraction by Canny edge detection. Canny edge detection is employed to obtain edge map.

  2. Straight lines detection by hough transform.

  3. Horizon and vanishing detection.

  4. Estimation the mid-line of road and the parameter k by the detected road lines.

  $$k=c_right-c_left/r_mid-hz$$

hz = vertical coordinate of the vanishing line

  1. Initial the control points of the lane model to approach the mid-line detected by last step.

Reference

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.106.6644&rep=rep1&type=pdf

bsnake_lane_detection's People

Contributors

hari-sikchi avatar madan96 avatar seancyw avatar tejus-gupta 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.