Skip to content
Piero Toffanin edited this page Jun 18, 2018 · 13 revisions

For the latest documentation, visit http://docs.opendronemap.org

The wiki is here only for historical reference purposes and is no longer up to date!


How to install OpenDroneMap

Prerequisites:

  • Requires Ubuntu 14.04+ OR a working Docker installation. See Docker Installation for instructions installing using Docker.
  • Minimum 4GB of RAM, recommended 16GB or more.
  • Currently ODM only is supported up to Ubuntu 16.04 due to some package going obsolete. We're working on it.

Install Git tools

sudo apt-get install git-core

Git Clone the repository

git clone  https://github.com/OpenDroneMap/OpenDroneMap.git
cd OpenDroneMap
bash configure.sh install
mkdir build && cd build && cmake .. && make && cd ..

Check that the install script ends with script finished or something went wrong

Set environment variables: Using your favorite editor, open ~/.bashrc and append the following to the bottom of the file (replace /your/path/OpenDroneMap with your installation path, e.g. /home/user/OpenDroneMap):

export PYTHONPATH=$PYTHONPATH:/your/path/OpenDroneMap/SuperBuild/install/lib/python2.7/dist-packages
export PYTHONPATH=$PYTHONPATH:/your/path/OpenDroneMap/SuperBuild/src/opensfm
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path/OpenDroneMap/SuperBuild/install/lib

You will need to log out and back in again for the variables to set.

Lastly, you need to edit the settings.yaml file to add your projects folder:


# This line is really important to set up properly
project_path: '' # Example: '/home/user/ODMProjects'

# The rest of the settings will default to the values set unless you uncomment and change them
#resize_to: 2400

You must change project_path: '' to add an absolute path to somewhere on your machine. Whenever you run a new project, it will be saved here.