Skip to main content

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. Fork 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


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.1.1.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

mpcd-0.1.1-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page