Skip to content

A Python-based computer vision project that detects road lane lines in real-time using OpenCV. Implements Canny edge detection and Hough Transform to highlight lanes on road images and videos.

Notifications You must be signed in to change notification settings

Mahnoor0000/road-lane-detection

Repository files navigation

Road Lane Detection using OpenCV

A simple computer vision project that detects road lane lines in images and videos using OpenCV, Canny Edge Detection, and the Hough Line Transform.


Working

  1. Convert frame to grayscale
  2. Apply Canny edge detection
  3. Mask the region of interest (ROI)
  4. Detect straight lines using Hough Transform
  5. Overlay detected lanes on the original image/video

Requirements

Install dependencies:

pip install opencv-python numpy matplotlib

About

A Python-based computer vision project that detects road lane lines in real-time using OpenCV. Implements Canny edge detection and Hough Transform to highlight lanes on road images and videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages