Difference between revisions of "Running OpenDroneMap"
Jump to navigation
Jump to search
| Line 76: | Line 76: | ||
'+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ' | '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | == Make my own OpenDroneMap image == | ||
| + | |||
| + | === Fork and clone ODM repository === | ||
| + | |||
| + | <syntaxhighlight lang="bash"> | ||
| + | git clone git@github.com:jgrocha/OpenDroneMap.git | ||
| + | cd OpenDroneMap | ||
| + | git checkout -b generate-laz-output | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Change source === | ||
| + | |||
| + | |||
| + | === Build new image === | ||
| + | |||
| + | <syntaxhighlight lang="bash"> | ||
| + | docker build -t odm_laz_image . | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Run new image === | ||
| + | |||
| + | <syntaxhighlight lang="bash"> | ||
| + | cd /home/jgr/Documentos/sletten16maj2018-gcp | ||
| + | export odmi=`pwd` | ||
| + | sudo rm -rf odm_georeferencing odm_meshing odm_orthophoto odm_texturing opensfm | ||
| + | docker run -it --rm \ | ||
| + | -v $odmi/images:/code/images \ | ||
| + | -v $odmi/gcp_list.txt:/code/gcp_list.txt \ | ||
| + | -v $odmi/odm_orthophoto:/code/odm_orthophoto \ | ||
| + | -v $odmi/odm_texturing:/code/odm_texturing \ | ||
| + | -v $odmi/odm_georeferencing:/code/odm_georeferencing \ | ||
| + | -v $odmi/odm_meshing:/code/odm_meshing \ | ||
| + | -v $odmi/opensfm:/code/opensfm \ | ||
| + | odm_laz_image --gcp gcp_list.txt --dtm --dsm | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Check the output === | ||
| + | |||
| + | ==== Previous result ==== | ||
| + | |||
| + | [[File:Captura de ecrã de 2018-06-16 12-26-36.png]] | ||
| + | |||
| + | ==== New result ==== | ||
| + | |||
| + | === Create Pull Request === | ||
| + | |||
| + | close #845 | ||
| + | |||
| + | === Other fixes === | ||
| + | |||
| + | epsg versus EPSG | ||
Revision as of 10:29, 16 June 2018
- Install docker
- Add you user to docker group
- sudo -H pip install requests
mkdir OpenDroneMap
cd OpenDroneMap
git clone git@github.com:OpenDroneMap/odm_data_aukerman.git
cd odm_data_aukerman
export odmi=`pwd`
ls -l $odmi
docker run -it --rm \
-v $odmi/images:/code/images \
-v $odmi/odm_orthophoto:/code/odm_orthophoto \
-v $odmi/odm_texturing:/code/odm_texturing \
-v $odmi/odm_georeferencing:/code/odm_georeferencing \
-v $odmi/odm_meshing:/code/odm_meshing \
-v $odmi/opensfm:/code/opensfm \
opendronemap/opendronemap --dtm --dsm
cd /home/jgr/Documentos/sletten16maj2018-gcp
export odmi=`pwd`
docker run -it --rm \
-v $odmi/images:/code/images \
-v $odmi/gcp_list.txt:/code/gcp_list.txt \
-v $odmi/odm_orthophoto:/code/odm_orthophoto \
-v $odmi/odm_texturing:/code/odm_texturing \
-v $odmi/odm_georeferencing:/code/odm_georeferencing \
-v $odmi/odm_meshing:/code/odm_meshing \
-v $odmi/opensfm:/code/opensfm \
opendronemap/opendronemap --gcp gcp_list.txt --dtm --dsm
/home/jgr/OpenDroneMap/odm_data_aukerman/images
docker run -it --rm \
-v /home/jgr/OpenDroneMap/odm_data_aukerman/images:/code/images \
-v /home/jgr/OpenDroneMap/odm_data_aukerman/odm_orthophoto:/code/odm_orthophoto \
-v /home/jgr/OpenDroneMap/odm_data_aukerman/odm_texturing:/code/odm_texturing \
opendronemap/opendronemap
webODM
https://github.com/OpenDroneMap/WebODM
git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input
cd WebODM
./webodm.sh start
jgrocha/xxbatata
Tools
CloudCompare
Ground Control File
echo -7.778152 41.833203 957.575989 | cs2cs +init=epsg:4326 +to +init=epsg:3763
echo 708610.702 6209972.025 26.085 | cs2cs +init=epsg:25832 +to +init=epsg:32633
jgr@zoe:~/Documentos/sletten16maj2018-exif$ gdalsrsinfo epsg:32633 -o proj4
'+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs '
jgr@zoe:~/Documentos/sletten16maj2018-exif$ gdalsrsinfo epsg:25832 -o proj4
'+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs '
Make my own OpenDroneMap image
Fork and clone ODM repository
git clone git@github.com:jgrocha/OpenDroneMap.git
cd OpenDroneMap
git checkout -b generate-laz-output
Change source
Build new image
docker build -t odm_laz_image .
Run new image
cd /home/jgr/Documentos/sletten16maj2018-gcp
export odmi=`pwd`
sudo rm -rf odm_georeferencing odm_meshing odm_orthophoto odm_texturing opensfm
docker run -it --rm \
-v $odmi/images:/code/images \
-v $odmi/gcp_list.txt:/code/gcp_list.txt \
-v $odmi/odm_orthophoto:/code/odm_orthophoto \
-v $odmi/odm_texturing:/code/odm_texturing \
-v $odmi/odm_georeferencing:/code/odm_georeferencing \
-v $odmi/odm_meshing:/code/odm_meshing \
-v $odmi/opensfm:/code/opensfm \
odm_laz_image --gcp gcp_list.txt --dtm --dsm
Check the output
Previous result
New result
Create Pull Request
close #845
Other fixes
epsg versus EPSG
