Meshroom is a free, open-source 3D Reconstruction Software based on the AliceVision framework.
Photogrammetry is the science of making measurements from photographs. It infers the geometry of a scene from a set of unordered photographs or videos. Photography is the projection of a 3D scene onto a 2D plane, losing depth information. The goal of photogrammetry is to reverse this process.
Get the project
See INSTALL.md to setup the project and pre-requisites.
Get the source code and install runtime requirements:
git clone --recursive git://github.com/alicevision/meshroom cd meshroom pip install -r requirements.txt
You need to have AliceVision installation in your PATH (and LD_LIBRARY_PATH on Linux/macOS).
- Launch the User Interface
# Windows set PYTHONPATH=%CD% && python meshroom/ui # Linux/macOS PYTHONPATH=$PWD python meshroom/ui
On Ubuntu, you may have conflicts between native drivers and mesa drivers. In that case, you need to force usage of native drivers by adding them to the LD_LIBRARY_PATH:
LD_LIBRARY_PATH=/usr/lib/nvidia-340 PYTHONPATH=$PWD python meshroom/ui
You may need to adjust the folder
/usr/lib/nvidia-340 with the correct driver version.
- Launch a 3D reconstruction in command line
# Windows: set PYTHONPATH=%CD% && # Linux/macOS: PYTHONPATH=$PWD python bin/meshroom_photogrammetry --input INPUT_IMAGES_FOLDER --output OUTPUT_FOLDER
Subscribe to Python Awesome
Get the latest posts delivered right to your inbox