Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.56 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.56 KB

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.