/Road-Lane-Detection

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

🛣️ Road Lane Detection using OpenCV

This project is a demonstration of how to use OpenCV to detect and draw road lane lines on a video stream.

Requirements :

  • Python 3.x
  • OpenCV
  • Numpy
  • matplotlib

This Repo Contains :

  • detector_image.py (to identify the area to focus)
  • detector_image2.py (to mark the lines in image)
  • detector_video.py (to mark the lines in live video)

Installation

  • Clone or download the repository.
  • Install the required packages by running pip install opencv-python.
  • Download a video file of a road or use your own video file.
  • run python detector_video.py in terminal

Demo :

Image detection:

ss9

Video Detection :

ss10.mp4

Author

https://github.com/TridibD004

Please give ⭐ if you like it