roadlane-detection
roadlane-detection copied to clipboard
Detecting road lanes using OpenCV and Python
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

In videos


Libraries used
- OpenCV
- Numpy
Steps to use this project:
-
Clone this repo or Download the zip folder.
-
Install Python 3.6 or greater
pip install python -
Intsall OpenCV for Python
pip install opencv-python. This package includes Numpy too. -
Go to the directory of this repo cloned or downloaded onto your local machine and open cmd.
-
Run the python files of your choice by typing the file name in the cmd as
detection_on_image.py,detection_on_vid.pyornyc_lane_detection.py