The aim of this project is to find lane lines on the road using the canny edge detector and Hough Line Transforms.
- The main code is contained in 'Main_code.py'
- All the test videos on which the code has been run are contained in 'test_videos'
- The output obtained is stored in 'test_videos_output'
- 'Project_Writeup.docx' contains the pipeline for the code, shortcomings, and the ways to improve the pipeline.
To run the code on different videos, you would have to change the name of the input video on which the code needs to be run, and the name of the output video to which the appended video will be stored.
Hence, you have to change the following lines of code accordingly,
-
To run the code on different input videos, ref line 24:
cap = cv2.VideoCapture('test_videos/') -
To store the corresponding appended videos, ref line 27:
out = cv2.VideoWriter('test_videos_output/', fourcc, 25, (960, 540))