How to convert a point cloud to mesh using python

Question:

so I have a .PCD or .ply file that I need to convert to a mesh and then display the mesh… are there any efficient methods to do this?

Asked By: idiotcoder

||

Answers:

To compute the convex hull mesh of the point cloud and then visualize

http://www.open3d.org/docs/release/python_api/open3d.geometry.PointCloud.html#open3d.geometry.PointCloud.compute_convex_hull

pcd = o3d.io.read_point_cloud("file.pcd")
hull_mesh, points = pcd.compute_convex_hull()
o3d.visualization.draw_geometries([hull_mesh])
Answered By: Hymns For Disco
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.