Open3D
Jump to navigation
Jump to search
Open3D is a library for data processing
Python Usage
pip install open3d
Point Clouds
import open3d as o3d
pcd = o3d.geometry.PointCloud()
# Should be array of shape (n, 3)
pcd.points = o3d.utility.Vector3dVector(xyz_coords)
# Should be array of shape (n, 3), each RGB value in [0, 1]
pcd.colors = o3d.utility.Vector3dVector(colors)
o3d.visualization.draw_geometries([pcd])