Skip to main content

A simple pure Python implementation of depth-related calculations.

Project description

Unit tests badge

Documentation

Depth Tools

A simple pure Python implementation for common depth-map-related operations.

Minimal installation:

pip install depth_tools

Features:

  • Loss calculation
  • Dataset handling (requires extra Datasets)
  • Prediction alignment
  • Depth clip implementation
  • Limited Pytorch support (requires package Pytorch)
  • Point cloud diagram creation (requires extra Plots)
  • Depth/disparity/distance normalization
  • Conversion between depth maps and distance maps

The contents of the extras:

  • Datasets: scipy, h5py, Pillow, pandas
  • Plots: matplotlib, plotly

All Pytorch-related functions are contained by the depth_tools.pt package. Contrary to its root package, you need to install Pytorch to import this package.

Documentation:

Comparison to Open3D

These two packages have somewhat different goals.

Open3D has a wider scope, like GUI handling. In exchange, it has more dependencies and it is partially written in C++.

Depth Tools has a narrower scope. In exchange, it is written in pure Python and tries to minimize the number of dependencies. Depth tools also uses a simpler camera model (with all of its pros and cons).

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

depth_tools-0.8.0.tar.gz (362.1 kB view details)

Uploaded Source

Built Distribution

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

depth_tools-0.8.0-py3-none-any.whl (369.0 kB view details)

Uploaded Python 3

File details

Details for the file depth_tools-0.8.0.tar.gz.

File metadata

  • Download URL: depth_tools-0.8.0.tar.gz
  • Upload date:
  • Size: 362.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for depth_tools-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4f7a34868ddc68c8b2b97c98329a8bdef9de8f8d0aecb0620621ad6f3e497a9b
MD5 f9a564ed3529a35c82cde59aef739c5a
BLAKE2b-256 847306ecc30d38ea2db75fa4a67528d075ee9d7645550d177ed7c71c503856a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for depth_tools-0.8.0.tar.gz:

Publisher: pypi.yml on mntusr/depth_tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file depth_tools-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: depth_tools-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 369.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for depth_tools-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2cf2f010c3d8091b8d8dd9a183c9cd177911c3cbde4e97533ce04d5dc04c54
MD5 0dcf3ed85a1f96526c3c9f354482fc73
BLAKE2b-256 a2ef55a12127054e9033b127016d0ec0d248338b8d9de4739d4658486b6eb6d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for depth_tools-0.8.0-py3-none-any.whl:

Publisher: pypi.yml on mntusr/depth_tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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