OpenCV Python - How to implement RANSAC to detect straight lines?

自闭症网瘾萝莉.ら 提交于 2020-04-30 07:43:26

问题


I'm trying to detect lines on an image which contains a road. Using gaussian smoothing and Canny edge detection, I reached a wall while trying to implement RANSAC. I basically don't know a single step as to how to go about it. Can I get a rough idea or a working code with a random image 'foo.png' that implements RANSAC?

来源:https://stackoverflow.com/questions/40362117/opencv-python-how-to-implement-ransac-to-detect-straight-lines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!