Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.24 KB

Road lane detection

Detecting road lanes using OpenCV in Python

This project uses the computer vision library OpenCV to detect road lanes in an image and in video frames with the help of Python.

Here are some snippets

In an image

lane_detection2

In videos

Manhattan_lane_detection

lane_detection

Libraries used

  • OpenCV
  • Numpy

Steps to use this project:

  1. Clone this repo or Download the zip folder.

  2. Install Python 3.6 or greater pip install python

  3. Intsall OpenCV for Python pip install opencv-python. This package includes Numpy too.

  4. Go to the directory of this repo cloned or downloaded onto your local machine and open cmd.

  5. Run the python files of your choice by typing the file name in the cmd as detection_on_image.py, detection_on_vid.py or nyc_lane_detection.py