OpenDroneMap-ODM/README.md

112 wiersze
4.1 KiB
Markdown
Czysty Zwykły widok Historia

2014-09-13 22:14:35 +00:00
![](https://opendronemap.github.io/OpenDroneMap/img/odm_image.png)
2014-11-06 10:20:22 +00:00
What is it?
===========
2014-11-06 18:37:58 +00:00
OpenDroneMap is a toolchain for processing raw civilian UAS imagery to other useful products. What kind of products?
2014-11-06 10:20:22 +00:00
1. Point Clouds
2. Digital Surface Models
3. Textured Digital Surface Models
4. Orthorectified Imagery
5. Classified Point Clouds
6. Digital Elevation Models
7. etc.
Sadly, it does not do all of this yet. So far, it does step 1: Point Clouds. Outputs 2-4 are on their way. Check the alternate branch: https://github.com/OpenDroneMap/OpenDroneMap/tree/texturing_orthophoto_spotscale_additions for early access to / testing of these features.
2014-11-06 10:20:22 +00:00
Steps to get OpenDroneMap running:
==================================
2014-11-25 17:37:26 +00:00
<del>(Requires Ubuntu 12.04 32-bit at this time. May also work with Ubuntu 12.04 64-bit.</del>
(Requires Ubuntu 12.04 or later, see https://github.com/OpenDroneMap/odm_vagrant for running on Windows in a VM)
2014-09-13 21:55:16 +00:00
Run install.sh to build.
2014-09-13 21:00:34 +00:00
``` ./install.sh ```
From a directory full of your images, run
2014-09-13 21:00:34 +00:00
``` ./run.pl ```
2015-01-07 17:19:43 +00:00
An overview of installing and running OpenDroneMap on Ubuntu can be found here: https://www.youtube.com/watch?v=e2qp3o8caPs
---
2014-09-12 23:34:49 +00:00
2014-09-12 23:34:18 +00:00
From Meshlab 1.3.3:
2014-09-12 23:34:49 +00:00
2014-11-06 10:20:22 +00:00
* Open Project file, navigate to:
2014-09-12 23:37:21 +00:00
* <project_location>/reconstruction-with-image-size-1200/bundle/bundle.out
* It will prompt for the image list file
* <project_location>/reconstruction-with-image-size-1200/list.txt
* Control-L and delete "0 model"
* Import dense point cloud:
* e.g. <project_location>/reconstruction-with-image-size-1200-results/option-0000.ply
* (there may be multiple ply files)
* Make a mesh:
* Filters:Remeshing, Simplification and Reconstruction:Surface Reconstruction Poisson
* Texture the mesh
* Parameterization + texturing from registered rasters
2014-09-13 21:45:56 +00:00
---
Example data can be found at https://github.com/OpenDroneMap/odm_data
2014-09-15 09:25:56 +00:00
---
Long term, the aim is for the toolchain to also be able to optionally push to a variety of online data repositories, pushing hi-resolution aerials to [OpenAerialMap](http://opentopography.org/), point clouds to [OpenTopography](http://opentopography.org/), and pushing digital elevation models to an emerging global repository (yet to be named...). That leaves only digital surface model meshes and UV textured meshes with no global repository home.
2014-09-19 14:16:43 +00:00
---
Troubleshooting:
2014-09-19 15:18:49 +00:00
================
2014-09-19 14:16:43 +00:00
If you run ODM with your own camera, it is possible you will see something like this:
```
- configuration:
--cmvs-maxImages: 100
--end-with: pmvs
--match-size: 200
--matcher-ratio: 0.6
--matcher-threshold: 2
--pmvs-csize: 2
--pmvs-level: 1
--pmvs-minImageNum: 3
--pmvs-threshold: 0.7
--pmvs-wsize: 7
--resize-to: 1200
--start-with: resize
- source files - Fri Sep 19 13:47:42 UTC 2014
no CCD width or focal length found for DSC05391.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05392.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05393.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05394.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05395.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05396.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05397.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05398.JPG - camera: "SONY DSC-HX5V"
no CCD width or focal length found for DSC05399.JPG - camera: "SONY DSC-HX5V"
found no usable images - quitting
Died at ../../OpenDroneMap/./run.pl line 364.
```
This means that your camera is not in the database, https://github.com/OpenDroneMap/OpenDroneMap/blob/gh-pages/ccd_defs.pl
2014-09-19 14:16:43 +00:00
This problem is easily remedied. We need to know CCD size in the camera. We'll get these for our Sony Cyber-shot DSC-HX5 from dpreview: http://www.dpreview.com/products/sony/compacts/sony_dschx5/specifications
So, we'll add the following line to our ccd_defs.pl:
"SONY DSC-HX5V" => 6.104, # 1/2.4"
And so others can use it, we'll do a pull request to add it to our array for everyone else.