文件名称:car_line:基于霍夫直线检测检测车道线
文件大小:40.65MB
文件格式:ZIP
更新时间:2024-03-21 19:56:51
Python
基于霍夫直线检测 使用方法: #实例化: import car_lines import cv2 app = car_lines . Car_lines () #读取图片 img = cv2 . imread ( img_path ) #设定车道线颜色阈值/默认白、黄色 white_lower = [ 200 , 200 , 200 ] white_upper = [ 255 , 255 , 255 ] yellow_lower = [ 0 , 110 , 110 ] yellow_upper = [ 100 , 255 , 255 ] colors = [[ white_lower , white_upper ],[ yellow_lower , yellow_upper ]] #调用方法 result , data = app . search ( img , colors = co
【文件预览】:
car_line-master
----requirement.txt(30B)
----README.md(833B)
----test.py(302B)
----test_videos()
--------solidWhiteRight.mp4(2.52MB)
--------solidYellowLeft.mp4(7.64MB)
--------challenge.mp4(14.39MB)
----Demo.py(9KB)
----test_images()
--------YellowWhite.jpg(182KB)
--------solidWhiteCurve.jpg(49KB)
--------YellowUnderShade2.jpg(217KB)
--------whiteCarLaneSwitch.jpg(59KB)
--------YellowUnderShade.jpg(244KB)
--------YellowWhite2.jpg(197KB)
--------solidWhiteRight.jpg(69KB)
--------solidYellowLeft.jpg(66KB)
--------solidYellowCurve2.jpg(65KB)
--------solidYellowCurve.jpg(57KB)
----lines()
--------right.jpg(52KB)
--------turn_right2.jpg(57KB)
--------turn_right.jpg(51KB)
--------right_correct.jpg(72KB)
--------alway.jpg(54KB)
--------right_correct2.jpg(71KB)
----car_lines.py(9KB)
----out_video()
--------output.mp4(14.63MB)