说明
Ubuntu18.04安装Colmap3.8,标定过程中用到的一个tool
步骤:
1. 更新
sudo apt-get update
2. 安装依赖
sudo apt-get install -y \
git \
cmake \
ninja-build \
build-essential \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-graph-dev \
libboost-system-dev \
libboost-test-dev \
libeigen3-dev \
libflann-dev \
libfreeimage-dev \
libmetis-dev \
libgoogle-glog-dev \
libgflags-dev \
libsqlite3-dev \
libglew-dev \
qtbase5-dev \
libqt5opengl5-dev \
libcgal-dev \
libceres-dev
3. 安装xvfb
sudo apt-get install -y xvfb
4. 源码安装Colmap
sudo git clone https://github.com/colmap/colmap.git && cd colmap && git checkout 3.8
mkdir build && cd build && cmake .. -DCUDA_ENABLED=ON -DCMAKE_CUDA_ARCHITECTURES="70;72;75;80;86" -GNinja
ninja && sudo ninja install
5. 测试
colmap gui