Skip to content

Simple pointcloud toolkit and browser based viewer for python.

License

Notifications You must be signed in to change notification settings

WillRobotics/p3dpy

Repository files navigation

p3dpy

Build status PyPI version Documentation Status

Numpy based simple pointcloud tools.

Core features

  • Basic pointcloud operations (Transformation, Registration, Filtering, Feature,...)
  • Simple dependencies (numpy, scipy,... other basic python packages)
  • Browser based viewer
  • Easy use for single board computers (Raspberry Pi, Jetson,...)

Installation

pip install p3dpy

Getting Started

This is a simple example to vizualize a pcd file.

import numpy as np
import p3dpy as pp
from p3dpy import VizClient
import argparse
parser = argparse.ArgumentParser(description='Simple example.')
parser.add_argument('--host', type=str, default='localhost', help="Host address.")
args = parser.parse_args()


pp.vizspawn(host=args.host)

client = VizClient(host=args.host)
pc = pp.io.load_pcd('data/bunny.pcd')
pc.set_uniform_color([1.0, 0.0, 0.0])
res = client.post_pointcloud(pc, 'test')

pp.vizloop(browser=True)

Visualization

demo

About

Simple pointcloud toolkit and browser based viewer for python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published