Skip to content

In this project, we will use Computer Vision to recognise lane lines in videos and pictures of roadways. One of the most essential traffic laws is to follow lane lines, therefore identifying them when developing models for autonomous vehicles is a crucial job.

Notifications You must be signed in to change notification settings

MahimaKhatri/Lane-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lane-Detection

Introduction

One of the most fundamental tasks in computer vision for autonomous driving is lane line detection on the road. Lane lines are painted for humans to see and follow while driving. In a very similar way, an autonomous vehicle that uses human designed infrastructure, needs to see the lane markings to steer accordingly and follow the road trajectory.

In this project, we will use Computer Vision to recognise lane lines in videos and pictures of roadways. One of the most essential traffic laws is to follow lane lines, therefore identifying them when developing models for autonomous vehicles is a crucial job.

Frontend

Home Page

alt text

Developers Page

alt text

Features

Computer Vision algorithm is used to detect straight lane markings on road using OpenCV Image Processing, Color Masks, Canny Edge Detection and Hough Transform.

Original Image

alt text

  • GrayScale

Grayscaling is the process of converting an image from other color spaces e.g. RGB, CMYK, HSV, etc. to shades of gray. It varies between complete black and complete white.

alt text

  • Gaussian Blur

In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss).In Gaussian Blur operation, the image is convolved with a Gaussian filter instead of the box filter. The Gaussian filter is a low-pass filter that removes the high-frequency components.

alt text

  • Canney Edge

Canny Edge Detection is used to detect the edges in an image. It accepts a gray scale image as input and it uses a multistage algorithm.

alt text

  • Hough Transform

The Hough transform is a feature extraction technique used in image analysis, computer vision, and digital image processing. The purpose of the technique is to find imperfect instances of objects within a certain class of shapes by a voting procedure. This voting procedure is carried out in a parameter space, from which object candidates are obtained as local maxima in a so-called accumulator space that is explicitly constructed by the algorithm for computing the Hough transform.

alt text

alt text

Video Demo

alt text

Tech Stack

  • Html
  • CSS
  • Flask
  • OpenCV

Running Instructions

Open the terminal and type the following

$ git clone https://github.com/MahimaKhatri/Lane-Detection.git
$ cd Lane-Detection
$ python3 -m venv lane-env
$ source lane-env/bin/activate
$ pip3 install -r requirements.txt
$ python3 run.py

Requirements

 opencv_python==4.5.3.56
 numpy==1.19.5
 Werkzeug==1.0.1
 Flask==1.1.2

Developers

Mudit Jindal

Mudit Jindal

Mahima Khatri

Mahima Khatri

About

In this project, we will use Computer Vision to recognise lane lines in videos and pictures of roadways. One of the most essential traffic laws is to follow lane lines, therefore identifying them when developing models for autonomous vehicles is a crucial job.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published