Jireh-Jam / Plane-fitting-using-RANSAC

Plane fitting with RANSAC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plane-fitting-using-RANSAC

Plane fitting using RANSAC written in Python.

Python上でRANSAC法を用いて平面推定を行うプログラム

chair

result

Description

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)

Requirement

import open3d, sklearn, matplot

Usage

  1. Put ransac.py on your project
  2. import ransac
  3. 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 :(

About

Plane fitting with RANSAC

License:MIT License


Languages

Language:Python 100.0%