Plane fitting using RANSAC written in Python.
Python上でRANSAC法を用いて平面推定を行うプログラム
This program finds the equation of a plane from Point Cloud by using RANSAC.
- input: Point Cloud data(.pcd)
- output: a, b, d (coefficient: Z = aX + bY + d), Angle of rotation(radian)
import open3d, sklearn, matplot
- Put ransac.py on your project
- import ransac
- find_plane(pcd): You can get confficient. angle_rotate(a, b, d): You can get angle of rotation(radian for leveling)
Sorry, if my English is incorrect :(