▍1. linefitransac
ransac直线拟合:使用ransac方法剔除不好的点,留下好的点做直线拟合,这样拟合出的直线更符合实际,因为没有了错误数据的参与。(ransac linear fitting: Use ransac methods eliminate the bad points, making a good point to make fitting a straight line, so that the fitted straight line is more realistic, because there is no involvement of erroneous data.)