Skip to main content

utils3d

This Python package provides a collection of utilities for working with 3D data!

Installation

$ pip install utils3d

Usage

utils3d can be used to perform various actions on your 3d data. One of them is converting the 3D point cloud data into a 2D depth image and that can be achieved as follows:

from utils3d.pctodepthimage import pctodepthimage

path = "pointclouds/um_000000.pcd" # path to your point cloud file
extrinsics = [] # 3x4 numpy array containing the extrinsic parameters (dummy available in tests/test_utils3d.py)
intrinsics = [] # 3x3 numpy array containing the intrinsic parameters (dummy available in tests/test_utils3d.py)
height = 512 # height of your depth image
width = 1382 # width of your depth image
scaling_factor = 0.15 # scaling factor manipulates the intensity of the pixels of your image

depth_image = pctodepthimage(path, extrinsics, intrinsics, height, width, scaling_factor)
depth_image.show()

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

utils3d was created by Kalash Jain. It is licensed under the terms of the MIT license.

Credits

utils3d was created with cookiecutter and the py-pkgs-cookiecutter template.

Metadata

Release files for utils3d 0.1.3

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

Source distribution (sdist)

Source distribution for utils3d 0.1.3
File Size Uploaded
utils3d-0.1.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for utils3d 0.1.3
File Interpreter ABI Platform
utils3d-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / utils3d-0.1.3.tar.gz

Download URL utils3d-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8abde4230c099cd2ec09243f46b15200c2e6cf6a56f8c5cef8e27c04185ab033
BLAKE2b-256 checksum
How to use checksums
24f34f4fa783d2f319c5e611cc9aeb33e6229abe41b7e26c0543e268bf929d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.10 Linux/5.15.0-107-generic

Release files / utils3d-0.1.3-py3-none-any.whl

Download URL utils3d-0.1.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a78ebff0eba50769322e7a3bd9d8e6cba88fb24e46f40f5059fe804464bc0fde
BLAKE2b-256 checksum
How to use checksums
6d2502ad1b03f83459f594d668350477c3f25947e772a4b135ecdaa6c16d3471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.10 Linux/5.15.0-107-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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