This project implements a lane detection algorithm using OpenCV and Python. The algorithm processes video input to detect the edges of lanes on a road and overlays the detected lanes onto the original video.
The project uses Canny edge detection, region of interest masking, and Hough Line Transformation to identify and display lanes on a road from a video feed. The final output is displayed with detected lanes superimposed on the original frames.
This project uses a sample video dataset named test1.mp4, which contains footage of a road with visible lane markings. You can replace this dataset with any video file that contains lane markings for testing purposes.
The lane detection algorithm demonstrates a high accuracy rate of approximately 95% in detecting lane boundaries in ideal conditions. Performance may vary depending on the video quality and environmental conditions.
This project requires the following Python libraries:
opencv-pythonnumpyYou can install them using pip:
```bash pip install opencv-python numpy