A simple pure Python implementation of depth-related calculations.
Project description
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,pandasPlots: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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f7a34868ddc68c8b2b97c98329a8bdef9de8f8d0aecb0620621ad6f3e497a9b
|
|
| MD5 |
f9a564ed3529a35c82cde59aef739c5a
|
|
| BLAKE2b-256 |
847306ecc30d38ea2db75fa4a67528d075ee9d7645550d177ed7c71c503856a0
|
Provenance
The following attestation bundles were made for depth_tools-0.8.0.tar.gz:
Publisher:
pypi.yml on mntusr/depth_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
depth_tools-0.8.0.tar.gz -
Subject digest:
4f7a34868ddc68c8b2b97c98329a8bdef9de8f8d0aecb0620621ad6f3e497a9b - Sigstore transparency entry: 975727625
- Sigstore integration time:
-
Permalink:
mntusr/depth_tools@b21f8683b25440ee11113af271b19982d7b1d273 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/mntusr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b21f8683b25440ee11113af271b19982d7b1d273 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b2cf2f010c3d8091b8d8dd9a183c9cd177911c3cbde4e97533ce04d5dc04c54
|
|
| MD5 |
0dcf3ed85a1f96526c3c9f354482fc73
|
|
| BLAKE2b-256 |
a2ef55a12127054e9033b127016d0ec0d248338b8d9de4739d4658486b6eb6d9
|
Provenance
The following attestation bundles were made for depth_tools-0.8.0-py3-none-any.whl:
Publisher:
pypi.yml on mntusr/depth_tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
depth_tools-0.8.0-py3-none-any.whl -
Subject digest:
1b2cf2f010c3d8091b8d8dd9a183c9cd177911c3cbde4e97533ce04d5dc04c54 - Sigstore transparency entry: 975727629
- Sigstore integration time:
-
Permalink:
mntusr/depth_tools@b21f8683b25440ee11113af271b19982d7b1d273 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/mntusr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b21f8683b25440ee11113af271b19982d7b1d273 -
Trigger Event:
release
-
Statement type: