我想在用Python在open3D中可视化一个点云时显示坐标。根据documentation,我编写了以下代码,其中第三行用于创建坐标。origin=[-2, -2, -2])
o3d.visualization.draw_geometries([pcd, mesh_frame]) 但它显示了以下错误,表明TriangleMesh中没有名为create_coordinate_frame的属性。[Frost@CC’s Mac ~]$ python3 -m pip show open
我正在windows上与open3d for python3一起工作。它是通过pip通过'pip install open3d-python'安装的。谢谢import open3d as o3dimport numpy as np
pcd = o3d.io.read_point_cloud("pointcloud.ply