Skip to main content

Introduction

Point_viz is a light-weight, out-of-box point cloud visualizer working in browser, it is built on Three.js and has python API. Bounding box (bbox) visualization is supported and here is an example. Point_viz does not need Internet connection to work (but the installation needs, of course), and it has been tested on Chrome and Safari with both python 2 and 3.

Usage

To install point_viz, simply run: pip install point_viz, and that's all. Below is the example of its python API:

# Import package.
from point_viz import PointvizConverter

# Initialize and setup output directory.
Converter = PointvizConverter(home)
# Pass data and create html files.
Converter.compile(task_name, coors, default_rgb, intensity, bbox_params, bbox_color)

Variables Explanation

The * means optional.

home: The directory where to put output html files, must be given.
task_name*: string, name of the output html file (can be overwritten if the name already exists; default value is "default").
coors*: 2-D float array, the x, y and z coordinates of each point in the point cloud.
default_rgb*: 2-D float/int array of the same length as coors, the R, G and B colors of each point. If not provided, the RGB will be automatically calculated based on intensity (if given) or point coordinates (when intensity is also missing).
intensity*: 1-D float array of the same length as coors, the intensity of each point. It only takes effect when default_rgb is not given.
bbox_params*: 2-D list, the geometry parameters of each bbox. Attributes of each row should be arranged as follows:

Attribute # Description
0 Length (float, dimension along x-axis)
1 Height (float, dimension along y-axis)
2 Width (float, dimension along z-axis)
3 X coordinate of bbox centroid (float)
4 Y coordinate of bbox centroid (float)
5 Z coordinate of bbox centroid (float)
6 Horizontal rotation regarding the +x-axis in radians (float)
7* Color of the bbox (string, optional; X11 color name is supported, default is "Magenta")
8* Label text of the bbox (string, optional)

bbox_color*: boolean, default is True. If the color of bbox is missing while the label text is given, then bbox_color has to be explicitly set to False.

Metadata

Release files for point-viz-test 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for point-viz-test 0.0.5
File Size Uploaded Provenance Actions
point_viz_test-0.0.5.tar.gz 698.6 kB Without provenance Details for point_viz_test-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for point-viz-test 0.0.5
File Interpreter ABI Platform Actions
point_viz_test-0.0.5-py2-none-any.whl Python 2 none any Details for point_viz_test-0.0.5-py2-none-any.whl

Total release size: 1.4 MB

Release files / point_viz_test-0.0.5.tar.gz

Download URL point_viz_test-0.0.5.tar.gz
Size 698.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b0797c31432a213d09a06a54a55c3ec578825fa726ab5f2fdf485b33ca3542ef
BLAKE2b-256 checksum
How to use checksums
467d9cf4281c82888744453fde30d415b2cf4bde35de8a318e012e2674e51492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

Release files / point_viz_test-0.0.5-py2-none-any.whl

Download URL point_viz_test-0.0.5-py2-none-any.whl
Size 703.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
09b58aedabb0df23a78adc9944c23c9a0059fd1a496c4f99a850ee56947fb23c
BLAKE2b-256 checksum
How to use checksums
5c1c73270ec5a943ab4fc16895ad26628d739d404851d7afb6556a5af51c20b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

Security for point-viz-test 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page