繁体   English   中英

python 中的 3D 点云

[英]3D point cloud in python

我在这里有点新:) 尽量简洁,我正在尝试 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)

它非常易于使用,并且包含非常好的教程 希望能帮助到你!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM