Skip to content

基于Opencv的车道线检测:1. 图像加载;2.图像预处理:图片灰度化,高斯滤波;3.Cany边缘检测;4.感兴趣区域检测;5.霍夫直线检测 ;6.直线拟合;7.车道线叠加;8.图片和视频测试;9.可视化界面pyqt5 (可选)。

License

Notifications You must be signed in to change notification settings

Yangly0/lane-detection-v1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaneDetectionV1.0

github Python NumPy OpenCV pyQt5

1_Out

基于Opencv的车道线检测:1. 图像加载;2.图像预处理:图片灰度化,高斯滤波;3.Cany边缘检测;4.感兴趣区域检测;5.霍夫直线检测 ;6.直线拟合;7.车道线叠加;8.图片和视频测试;9.可视化界面pyqt5 (可选)。

Requirements - 必要条件

  • python 3.x
  • numpy
  • matplotlib
  • opencv-python
  • pyqt5 (option)

Usage - 用法

  1. Clone and install.
$ git clone [email protected]:yangliuly1/LaneDetectionV1.0.git
$ cd LaneDetectionV1.0
$ pip install -r requirements.txt
  1. Test.
# picture test
$ python .\lanedetection.py -i ./assets/1.jpg -o ./assets/1_out.jpg
# video test 
$ python .\lanedetection.py -i ./assets/project_video.mp4 -o ./assets/project_video_out.mp4
  1. Visualization.
# install package
$ pip install pyqt5
# run
$ python mainwindow.py

Changelog - 更新日志

  • Done:可视化界面。

License - 版权信息

MIT

Reference - 参考

01-陈光-无人驾驶技术入门(十四)| 初识图像之初级车道线检测-知乎

About

基于Opencv的车道线检测:1. 图像加载;2.图像预处理:图片灰度化,高斯滤波;3.Cany边缘检测;4.感兴趣区域检测;5.霍夫直线检测 ;6.直线拟合;7.车道线叠加;8.图片和视频测试;9.可视化界面pyqt5 (可选)。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages