Skip to content

lruzicki/marking_road_lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

marking_road_lines

Python program using cv2, numpy, matplotlib to draw red line on the marking of road lines.

Result: alt-text

About:

First I used video capture provided by cv2 to loop the video frame by frame. s1

Frame must be converted into gray... s2

...then blurred. s3

Then it is possible for the program to use canny to detect edges. User must fit the lower and higher treshold to get low number of edges. s4

User also has to crop the frame to include only part where is the road. The more accurate it is the better program is going to work. s5

Next we can use hough lines to draw red lines in final destination of frame. s6

Last but not least program sum the raw frame with generated lines. s7

It also counts number of frames and display my name on the video.

About

Marking road lines from given video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages