在计算机几何学中,检测直线是比较常用的方法。 References Line detection in python with OpenCV? Simple Lane Detection with OpenCV