(39条消息) 点云格式批量转换(.xyz转.pcd)_楊誌強的博客-CSDN博客
import open3d as o3d import numpy as np import os def alter(name): pcd = o3d.io.read_point_cloud('../Pointdataset_output/'+name) print(pcd) o3d.io.write_point_cloud('../Pointdataset_pcd/'+name[:-3]+"pcd", pcd) if __name__ == '__main__': path1 ='../Pointdataset_output' list = os.listdir(path1) print(list) for i in list: alter(i)
标签:__,name,..,xyz,点云,import,pcd From: https://www.cnblogs.com/yibeimingyue/p/16908502.html