Run Sparse Plane Reconstruction on a pair of input images.
Download our pretrained model model_ICCV.pth and save to sparsePlane/models
cd sparsePlane/models
wget https://fouheylab.eecs.umich.edu/~jinlinyi/2021/sparsePlanesICCV21/models/model_ICCV.pth
Inference on teaser images.
cd sparsePlane
python tools/inference_sparse_plane.py \
--config-file ./tools/demo/config.yaml \
--input ./tools/demo/teaser \
--output ./debug
Or you can inference on a list of image pairs by making a txt file
cd sparsePlane
python tools/inference_sparse_plane.py \
--config-file ./tools/demo/config.yaml \
--input ./tools/demo/images \
--img-list ./tools/demo/images/image_list.txt \
--output ./debug