openmvg和openmvs安装
时间: 2023-11-13 15:44:52 浏览: 151
安装OpenMVG:
1. 安装依赖项
```
sudo apt-get install libpng-dev libjpeg-dev libtiff-dev libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev graphviz mono-complete libgmp-dev
```
2. 下载OpenMVG源代码
```
git clone --recursive https://github.com/openMVG/openMVG.git
```
3. 安装OpenMVG
```
cd openMVG
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DOpenMVG_BUILD_TESTS=ON -DOpenMVG_BUILD_EXAMPLES=ON
make -j4
sudo make install
```
安装OpenMVS:
1. 安装依赖项
```
sudo apt-get install git cmake libpng-dev libjpeg-dev libtiff-dev libglu1-mesa-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-serialization-dev libopencv-dev libcgal-dev libcgal-qt5-dev
```
2. 下载OpenMVS源代码
```
git clone https://github.com/cdcseacave/openMVS.git
```
3. 安装OpenMVS
```
cd openMVS
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DVCG_DIR="/usr/local/lib/cmake/vcglib/" -DCMAKE_INSTALL_PREFIX=/usr/local
make -j4
sudo make install
```
阅读全文