python中的3D点云



我在这里有点陌生:(尽量简洁,我正在尝试pip点云处理所需的安装包,但我得到了这些错误:

ERROR: Could not find a version that satisfies the requirement pclpy (from versions: none)  
ERROR: No matching distribution found for pclpy  
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.  
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

虽然我更新了pip,但我也收到了警告。感谢

大家好,欢迎来到Stack Overflow!

正如你在pclpy官方网站上看到的,目前它不适用于Linux。假设您使用的是Linux,这就解释了您遇到的错误。

对于Python中的点云处理库,您可能需要了解Open3D。要安装它,您只需在终端中键入pip install open3d即可。

要读取点云数据并将其写入,只需使用几行代码:

import open3d as o3d
pcd = o3d.io.read_point_cloud('./input.pcd')
o3d.io.write_point_cloud('output.ply', pcd)

它非常容易使用,并且包含非常好的教程。希望它能有所帮助!

最新更新