git clone --recurse-submodules https://github.com/cvg/DeepLSD.git
git clone --recurse-submodules https://github.com/chenzhaiyu/points2poly.git
直接用:
cd DeepLSD
bash quickstart_install.sh
mkdir weights
wget https://www.polybox.ethz.ch/index.php/s/FQWGkH57UNTqlJZ/download -O weights/deeplsd_wireframe.tar
wget https://www.polybox.ethz.ch/index.php/s/XVb30sUyuJttFys/download -O weights/deeplsd_md.tar
报错AttributeError: module 'cv2.gapi.wip.draw' has no attribute 'Text'
安装cv python新版本:
pip install opencv-python==4.6.0.66
python3 untitled.py
----------------训练测试---------------------
1.安装gflags和glog
#apt-get install libgoogle-glog-dev
---安装gflags
#git