Open cv Python line detection

asked 2019-10-27 06:16:38 -0500

Hi, I am wondering how to get the following result with open cv. image description

edit retag flag offensive close merge delete


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.

supra56 gravatar imagesupra56 ( 2019-10-27 08:39:54 -0500 )edit

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.

mvuori gravatar imagemvuori ( 2019-10-27 13:45:20 -0500 )edit