Pure Python PCD reader/writer
Project description
mpcd
Pure Python module to read and write point clouds stored in the PCD file format, used by the Point Cloud Library. Folk from pypcd: https://github.com/dimatura/pypcd
import mpcd
# also can read from file handles.
pc = mpcd.PointCloud.from_path('foo.pcd')
# pc.pc_data has the data as a structured array
# pc.fields, pc.count, etc have the metadata
# center the x field
pc.pc_data['x'] -= pc.pc_data['x'].mean()
# save as binary compressed
pc.save_pcd('bar.pcd', compression='binary_compressed')
I want to congratulate you / insult you
My email is mail@yuehao.wang
.
Copyright (C) 2023 Yuehao Wang
mpcd
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 Distribution
mpcd-0.0.6.tar.gz
(11.7 kB
view hashes)
Built Distribution
mpcd-0.0.6-py3-none-any.whl
(12.1 kB
view hashes)