ODM is a library that provides various of transformations from list of photo to maps with geo data, pointcloud, elevation maps. This package was created for 2d mapping from several images using python script and remote node. Also we have python script to take geo info and visualise it on map that odm has created.
There are 4 main "stages":
- Dataset: if you have not JPEG images with geo meta data in them, you need rosbag with image and geo topics
- Node: you need to run it before processing odm map.
- ODM mapping: you need to run it with input images and geo data
- Printer: you need to send the geo data and have odm .tif output
You simply can run command by command
If you already have images with geo meta data in them, put them into /odm_media/images on your computer
- Image topic
- Geo topic
With running Image and Geo topics run:
docker compose -f docker-compose-dataset-maker.yml up
This stage will create into root on your computer JPEG images with geo metadata in /odm_media/images
To run Node you need to run:
chmod + ./run_odm_node.sh
./run_odm_node.sh
To change port and ip edit /run_odm_node.sh file and /docker-compose-odm-mapping.yml. By default port:3000 localhost.
- Into root on your computer you need JPEG images with geo metadata in /odm_media/images
- Running node
To run ODM mapping you need to run:
docker compose -f docker-compose-odm-mapping.yml up
To run FAST ODM mapping without 3d map generator and report.pdf you need to run:
docker compose -f docker-compose-odm-mapping-fast.yml up
This stage will create into root on your computer orthophoto map and other results in /odm_media/results
- Into root on your computer you need to have .tif image from previous stage: /odm_media/results/odm_orthophoto/odm_orthophoto.tif
- Xhost
To run Printer you need to run:
docker compose -f docker-compose-continious-printer.yml up
You can change size of drone image in compose(default 254) and even the drone.png
Clone the repository and run:
git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1
cd WebODM
./webodm.sh start
Open a Web Browser to http://localhost:8000