Depthlib
A python library for depth estimation using stereo vision
Install
pip install depthlib
Development Environment Setup
Follow these steps to prepare the project environment:
-
Create a virtual environment
python -m venv venv
-
Activate the virtual environment
- Windows
venv\Scripts\activate
- macOS/Linux
source venv/bin/activate
- Windows
-
Install dependencies
pip install -r requirements.txt
- CPU-only PyTorch
pip install torch
- CUDA PyTorch (pick the right CUDA wheel from PyTorch site)
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
See https://pytorch.org/get-started/locally/ to choose the correct CUDA version.
- CPU-only PyTorch
Run Examples
- For stereo images - example_stereo.py
- For stereo video - example_stereo_live.py
[!Note] Download demo left and right videos from here and put it inside assets folder.
Metadata
Release files for depthlib 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| depthlib-0.1.1.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| depthlib-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.9 kB
Release files / depthlib-0.1.1.tar.gz
| Download URL | depthlib-0.1.1.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19b3f88afb54a0cf7bb2274d14df118099d014ddac45d8830c4877ff6643dbad
|
|
BLAKE2b-256 checksum How to use checksums |
ab6b77d71f23ef60e9d67c090cd315a638ded9062e56096ce66fb7c28c7883e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / depthlib-0.1.1-py3-none-any.whl
| Download URL | depthlib-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f8ecf05b2cb6942bb8fa6566f4a2df9a48df03ece78f898ab95bd8b2321c503
|
|
BLAKE2b-256 checksum How to use checksums |
0f3289680d79b8b0e757e79ef38babf997a7c52f25f14aa9e6ea32bf8bf03a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|