Simple Lane Detection
About
Simple lane detection (SLD) is, as the name suggests, is software that does simple lane detection. SLD achieve this by just using classical computer vision methods, consisting of: AOI, Thresholding, Canny line detection, HoughLinesP, & point clustering. Using these methods, the detection of the left and right lane(s) of the driving car in the video (point of view) is achieved.
Limitations
Now, SLD is NOT PERFECT! It really only works best if the video data is clean, there are no objects/cars in the AOI, and the road is in ok condition. Another big limitation of SLD is that it can only detect the first left and/or first right lane(s) of the main vehicle. It will not detect all the lanes, which limits what the code can provide for the car’s overall point of view. Here is a diagram/figure that highlights the main issues with SLD:
Demo Of SLD:
Sources
- Papers Read:
- Driving Clips:
- Many of theses driving footages are too long and high resolution. So I had to modify those footages using youtube_dl and iMovie.
- Self Driving Car Complete Dataset
- Clips Used For This Project:
- Other Sources:
- OpenCV Canny Edge Detection Doc
- OpenCV Hough Line Transform Doc
- OpenCV Smoothing Images Doc
- StackOverflow Detect Mouse Position Click - Discussion
- Theses functions from CSOM’s CSCI437 class were modified & used in this project:
get_xy() create_named_window()