Skip to main content

A package for 3D utilities!

Project description

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.

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

utils3d-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

utils3d-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file utils3d-0.1.3.tar.gz.

File metadata

  • Download URL: utils3d-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.10 Linux/5.15.0-107-generic

File hashes

Hashes for utils3d-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8abde4230c099cd2ec09243f46b15200c2e6cf6a56f8c5cef8e27c04185ab033
MD5 bb42a2c738bc1b3df8af2adb42b805e4
BLAKE2b-256 24f34f4fa783d2f319c5e611cc9aeb33e6229abe41b7e26c0543e268bf929d4b

See more details on using hashes here.

File details

Details for the file utils3d-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: utils3d-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.10 Linux/5.15.0-107-generic

File hashes

Hashes for utils3d-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a78ebff0eba50769322e7a3bd9d8e6cba88fb24e46f40f5059fe804464bc0fde
MD5 03e4f77c11317b2186b0619219c41e53
BLAKE2b-256 6d2502ad1b03f83459f594d668350477c3f25947e772a4b135ecdaa6c16d3471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page