You can't. It is unmarked lanes.It is not asphalt road. If it too dark, then you can't detected lane. You can do manually HoughLineS for image but not for video. I recommend merely HoughLineP.
Anything one can do to still images can be done to a video, as it is just a stream of frames. While the lanes are not marked, with right parameters to the detection function it should be possible - plus other, heuristic code for figuring out which lines represent the road's edge - and what to fo when none is found.
You can't. It is unmarked lanes.It is not asphalt road. If it too dark, then you can't detected lane. You can do manually
HoughLineS
for image but not for video. I recommend merelyHoughLineP
.Anything one can do to still images can be done to a video, as it is just a stream of frames. While the lanes are not marked, with right parameters to the detection function it should be possible - plus other, heuristic code for figuring out which lines represent the road's edge - and what to fo when none is found.