This repository helps us in identifying the lanes of the road as shown below. The part of the code commented is used for images. As it can be seen in the code, it can be also done for a video.
The method to solve this is taken from this video : https://www.youtube.com/watch?v=VyLihutdsPk&t=1194s They have published a paper of the algorithm used to finding curved lanes of the road.