A library for depth estimation and processing
Project description
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.
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 depthlib-0.1.1.tar.gz.
File metadata
- Download URL: depthlib-0.1.1.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19b3f88afb54a0cf7bb2274d14df118099d014ddac45d8830c4877ff6643dbad
|
|
| MD5 |
4c0bde8cd8ebfea0368f624bf16a6e7b
|
|
| BLAKE2b-256 |
ab6b77d71f23ef60e9d67c090cd315a638ded9062e56096ce66fb7c28c7883e3
|
File details
Details for the file depthlib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: depthlib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f8ecf05b2cb6942bb8fa6566f4a2df9a48df03ece78f898ab95bd8b2321c503
|
|
| MD5 |
0c50185145a635329c6a6272167cd96a
|
|
| BLAKE2b-256 |
0f3289680d79b8b0e757e79ef38babf997a7c52f25f14aa9e6ea32bf8bf03a70
|