https://github.com/kaylaipp/lane-detection
Build a simple lane detector with Python and OpenCV
https://github.com/kaylaipp/lane-detection
autonomous-vehicles lane-detection lane-lines-detection lane-tracking opencv opencv-python
Last synced: about 2 months ago
JSON representation
Build a simple lane detector with Python and OpenCV
- Host: GitHub
- URL: https://github.com/kaylaipp/lane-detection
- Owner: kaylaipp
- Created: 2020-12-24T22:06:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-24T22:37:14.000Z (over 5 years ago)
- Last Synced: 2025-06-02T21:14:52.183Z (about 1 year ago)
- Topics: autonomous-vehicles, lane-detection, lane-lines-detection, lane-tracking, opencv, opencv-python
- Language: Python
- Homepage:
- Size: 11.8 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lane Detection
> Build a lane detector with Python and OpenCV :)
## To run
```sh
python laneDetectionVideo.py
```
## Preview

[Original video](https://www.youtube.com/watch?v=IWIOafpMi4E)
## 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
