Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willrobotics/p3dpy
Simple pointcloud toolkit and browser based viewer for python.
https://github.com/willrobotics/p3dpy
fastapi jetson numpy point-cloud raspberry-pi threejs
Last synced: 5 days ago
JSON representation
Simple pointcloud toolkit and browser based viewer for python.
- Host: GitHub
- URL: https://github.com/willrobotics/p3dpy
- Owner: WillRobotics
- License: mit
- Created: 2021-02-23T08:32:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T15:08:00.000Z (over 2 years ago)
- Last Synced: 2024-10-15T19:40:59.832Z (21 days ago)
- Topics: fastapi, jetson, numpy, point-cloud, raspberry-pi, threejs
- Language: JavaScript
- Homepage:
- Size: 5.17 MB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# p3dpy
[![Build status](https://github.com/WillRobotics/p3dpy/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/WillRobotics/p3dpy/actions/workflows/ubuntu.yml/badge.svg)
[![PyPI version](https://badge.fury.io/py/p3dpy.svg)](https://badge.fury.io/py/p3dpy)
[![Documentation Status](https://readthedocs.org/projects/p3dpy/badge/?version=latest)](https://p3dpy.readthedocs.io/en/latest/?badge=latest)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.
```py
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](https://raw.githubusercontent.com/WillRobotics/p3dpy/master/assets/p3dpy_demo.gif)