2018-03-01 01:51:07 +00:00
|
|
|
#ODM 0.3.1 under Debian 8.10 jessie - 2018-02-27 by yjmenezes
|
|
|
|
#https://github.com/OpenDroneMap/OpenDroneMap/wiki/Docker
|
2018-03-03 00:13:54 +00:00
|
|
|
#git clone https://github.com/OpenDroneMap/OpenDroneMap.git
|
|
|
|
git clone https://github.com/yjmenezes/OpenDroneMap.git
|
2018-03-01 01:51:07 +00:00
|
|
|
cd OpenDroneMap
|
2018-03-03 00:13:54 +00:00
|
|
|
# list images
|
|
|
|
docker images
|
2018-03-01 01:51:07 +00:00
|
|
|
#remove old my_odm_image if necessary
|
2018-03-03 00:13:54 +00:00
|
|
|
docker rmi my_odm_image
|
2018-03-23 14:43:50 +00:00
|
|
|
#build a fresh one using instructions from ./Dockerfile
|
2018-03-03 00:13:54 +00:00
|
|
|
docker build -t my_odm_image .
|
2018-03-01 01:51:07 +00:00
|
|
|
#run tests with supplied image set.
|
|
|
|
#Mapped host directories for output. -v host_path:container_path
|
|
|
|
cd tests/test_data/
|
|
|
|
sudo rm -r odm_* opensfm
|
|
|
|
docker run -it --rm \
|
|
|
|
-v $(pwd)/gcp_list.txt:/code/gcp_list.txt \
|
|
|
|
-v $(pwd)/images:/code/images \
|
|
|
|
-v $(pwd)/opensfm:/code/opensfm \
|
|
|
|
-v $(pwd)/odm_meshing:/code/odm_meshing \
|
|
|
|
-v $(pwd)/odm_georeferencing:/code/odm_georeferencing \
|
|
|
|
-v $(pwd)/odm_orthophoto:/code/odm_orthophoto \
|
|
|
|
-v $(pwd)/odm_texturing:/code/odm_texturing \
|
|
|
|
my_odm_image --mesh-size 100000
|
|
|
|
|