Skip to main content

Python library for working with 3D point clouds.

Project description

Travis Build Status Start in Binder /docs/images/pyntcloud_logo.png

pyntcloud is a Python 3 library for working with 3D point clouds leveraging the power of the Python scientific stack.

pip install pyntcloud

Quick Overview

You can access most of pyntcloud’s functionality from its core class: PyntCloud.

With PyntCloud you can perform complex 3D processing operations with minimum lines of code. For example you can:

  • Load a PLY point cloud from disk.

  • Add 3 new scalar fields by converting RGB to HSV.

  • Build a grid of voxels from the point cloud.

  • Build a new point cloud keeping only the nearest point to each occupied voxel center.

  • Save the new point cloud in numpy’s NPZ format.

With the following concise code:

from pyntcloud import PyntCloud

cloud = PyntCloud.from_file("some_file.ply")

cloud.add_scalar_field("hsv")

voxelgrid_id = cloud.add_structure("voxelgrid", n_x=32, n_y=32, n_z=32)

new_cloud = cloud.get_sample("voxelgrid_nearest", voxelgrid_id=voxelgrid_id, as_PyntCloud=True)

new_cloud.to_file("out_file.npz")

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

pyntcloud-0.0.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

pyntcloud-0.0.2-py3-none-any.whl (349.5 kB view details)

Uploaded Python 3

File details

Details for the file pyntcloud-0.0.2.tar.gz.

File metadata

  • Download URL: pyntcloud-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for pyntcloud-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9035a168b3013f2270b5472537b3610bfb851671f0acf209ab6c99a0a4a87c7b
MD5 39af94f5f0e6855b4e67aa67ec660d00
BLAKE2b-256 826d8d369aae5e35fd55a819ab2336ae00cafe2a29848683e267f8920da8b1c6

See more details on using hashes here.

File details

Details for the file pyntcloud-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyntcloud-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 349.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for pyntcloud-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d076a08ebf6a7825243d18ee52cbb15641884a87557c0aa870f9d19e0ddac02
MD5 e843417b96033fcd48fc429138b2e3e1
BLAKE2b-256 538c89635cdb0d260acc3a8c5de1c9f91e792e233c56a72ad5d169df764ccade

See more details on using hashes here.

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