a package for pcd
Project description
Easypcd使你更专注与代码本身,而不需要因为pcd格式所带来的烦恼。
1、调用easypcd
from easypcd import easypcd
ep = easypcd()
2、 读取pcd文件
pcd = ep.read_pcd("point.pcd")# 读取pcd文件
print(“point indormation:”, pcd)# 打印所有信息
print(“point:”, pcd.points)# 打印点云
3、 写入pcd文件
ep.write_pcd(save_name="sample.pcd", points=pcd.points)
必要参数:
save_name:保存的文件名
points:需要保存的点云数据
可选参数
color:是否有颜色信息(True/False),默认False
normal:是否有向量信息(True/False),默认False
_SIZE:字节数量,默认为4
_TYPE:字符类型,默认为F
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.