module ‘open3d‘ has no attribute ‘PointCloud‘

module 'open3d' has no attribute 'PointCloud'

新版open3d open3d-0.13.0 api好多都改了,

open3d.PointCloud() 新api

pc = open3d.geometry.PointCloud()

Vector3dVector 新api: 

        pc.points = open3d.utility.Vector3dVector(pc_xyzrgb[:, 0:3])
        #pc.points = open3d.Vector3dVector(pc_xyzrgb[:, 0:3])

open3d.draw_geometries([pc]) 新版api:

open3d.visualization.draw_geometries([pc])

你可能感兴趣的:(3D视觉)