pcd.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamKNN(knn=20))
运行时由于open3d版本的问题,出现了报错:
AttributeError: 'open3d.open3d.geometry.PointCloud' object has no attribute 'estimate_normals'
如何在不改变open3d版本的情况下解决:
直接上面那句代码改成:
o3d.geometry.estimate_normals(pcd, search_param=o3d.geometry.KDTreeSearchParamKNN(knn=20))
成功解决!