You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
points = load_points(.) # Load your point cloud as a numpy array (N, 3)
12
+
13
+
plane1 = pyrsc.Plane()
14
+
best_eq, best_inliers = plane1.fit(points, 0.01)
15
+
Results in the plane equation Ax+By+Cz+D: [0.720, -0.253, 0.646, 1.100]
16
+
17
+
Example 2 - Spherical RANSAC
18
+
Loading a noisy sphere's point cloud with r = 5 centered in 0 we can use the following code:
19
+
20
+
import pyransac3d as pyrsc
21
+
22
+
points = load_points(.) # Load your point cloud as a numpy array (N, 3)
23
+
24
+
Documentation & other links
25
+
The documentation is this Ṕage.
26
+
Source code in the Github repository.
27
+
Pypi pakage installer
28
+
You can find the animations you see in the documentation on branch Animations. It needs Open3D library to run. The Animation branch is not regularly maintained, it only exists to create some cool visualizations ;D
0 commit comments