The main aim of the project is to detect the Lane from the image.
Purpose of the script is to detect Lane from the Image and make it more and more accurate.
- This project help us to detect the Road Lane.
- Libraries Imported :
- CV2
- Matplotlib
- Numpy
- Here Firstly the image is read from Images folder using OpenCV library.
- Setting the region of interest between which the road lane is their. (mentioned data is according to the given input, If u want to try your own input image try to change the value and after testing fix the region).
- Converting the image to grey scale image.
- Using canny's edge detection function, detecting the edge.
- Using HoughLines function detecting the points from the canny's detected image.
- At last drawing the line and showing the output as Detected_Lane.jpg file.
First install the above mentioned library, If you want to detect lane on your given input just changge the path in cv2.imread function and set your path and run the file.
- Install CV2, Matplotlib and Numpy library in your system. (syntax : pip install library_name)
- Clone the project on local system.
- Execute/Run .py file and get the output.
Harsh Ved