配置环境
代码地址:https://github.com/princeton-vl/DPVO
1.下载代码
git clone https://github.com/princeton-vl/DPVO.git --recursive
cd DPVO
2.创建环境
conda env create -f environment.yml
conda activate dpvo
3.安装DPVO包
wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
unzip eigen-3.4.0.zip -d thirdparty
# install DPVO
pip install .
# download models and data (~2GB)
./download_models_and_data.sh
跑代码
1.iphone
python demo.py --imagedir=movies/IMG_0492.MOV --calib=calib/iphone.txt --stride=5 --plot