arunabaijal / ENPM-673-Lane-Detection

Lane Detection to mimic Lane Departure Warning systems used in Self Driving Cars.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENPM-673-Lane-Detection

The project aimed to perform Lane Detection and Tyrn Prediction to mimic Lane Departure Warning Systems used in Self Driving Cars. We perform color segmentation and calculate histogram of lane pixels to detect lanes and fit a polygon over it.

Run the code

Run the following command to enhance the video in Part 1.

python Problem1.py --convert=True

Run the following command to run the lane detection code:

python lane_detector.py <data_selection>

Set <data_selection> = 1 for selecting the first data set and <data_selection> = 2 for the second data set.

Note: The code needs the data-sets to be placed in the current directory.

Results:

A sample of output videos on given dataset:

Result1 Result2

About

Lane Detection to mimic Lane Departure Warning systems used in Self Driving Cars.


Languages

Language:Python 100.0%