1. depthy¶
1.4. Installation¶
- via pip:
install with
pip3 install depthy
type
depthy -h
to the command line once installation finished
- from source:
install Python from https://www.python.org/
download the source using
git clone https://github.com/hahnec/depthy.git
go to the root directory
cd depthy
load dependencies
$ pip3 install -r requirements.txt
install with
python3 setup.py install
if installation ran smoothly, enter
depthy -h
to the command line
1.5. Command Line Usage¶
From the root directory of your downloaded repo, you can run the tool on the provided test data by
depthy -s './examples/data/pens/'
on a UNIX system where the result is found at ./examples/data/
. A windows equivalent of the above command is
depthy --src=".\\examples\\data\\pens\\"
To infer light-field depth, you can specify the method or select your image folder manually with
depthy --win --method='epi'
For stereo depth, you would use
depthy --win --method='stereo'
More information on optional arguments, can be found using the help parameter
depthy -h
1.6. API Usage¶
A documentation of the key functions is found at https://hahnec.github.io/depthy/. A reference integration using depthy’s API can be found in PlenoptiCam.
1.7. Author¶
1.8. Citation¶
@misc{depthy,
title={Depthy},
author={Christopher Hahne},
year={2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/hahnec/depthy}}
}