Skip to content

Build a simple lane detector with Python and OpenCV

Notifications You must be signed in to change notification settings

kaylaipp/lane-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Lane Detection

Build a lane detector with Python and OpenCV :)

To run

python laneDetectionVideo.py

Preview

Final output video

Original video

Steps

  1. Grayscale frame

2. Gaussian blur grayscale frame

3. Detect edges using Canny edge algorithm

4. Create mask for region of interest

5. Detect lines through Hough transform

6. Average lines from Hough transform and draw on frame

Releases

No releases published

Packages

No packages published

Languages