[OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker

Debell, Leon ld384 at exeter.ac.uk
Tue May 31 06:56:30 PDT 2016


Hi Dakota,


Thanks for this, really appreciate the reply and info.


Cheers,


Leon


________________________________
From: Dakota Benjamin <dmb2 at clevelandmetroparks.com>
Sent: 31 May 2016 14:52
To: Debell, Leon; opendronemap-users at lists.osgeo.org
Subject: Re: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker


The problem you are facing is that your camera is not in the ccdWidths file. You can quickly fix that by finding your cameras sensor width (usually can be found pretty easily online) and then using "--force-ccd n" where n is the width. You can append this to the docker command.


BTW, it was a simple missing "." in your docker build, it should be "docker build -t opendronemap:latest ."


But I would recommend using the new "official" docker build:

export IMAGES=/absolute/path/to/your/project
docker run -v $IMAGES:/images opendronemap/opendronemap:latest



[http://sig.cmparks.net/cmp-ms-90x122.png]Dakota Benjamin
Geospatial Developer
clevelandmetroparks.com<http://www.clemetparks.com/>

<http://www.clemetparks.com/>

________________________________
From: OpenDroneMap-users <opendronemap-users-bounces at lists.osgeo.org> on behalf of Debell, Leon <ld384 at exeter.ac.uk>
Sent: Monday, May 23, 2016 11:35:32 AM
To: opendronemap-users at lists.osgeo.org
Subject: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker


How do,


I've made several attempts at processing a data set using ODM on an Ubuntu 14.04 distro.


The git clone and install all went without a hitch, but when I process the images I get this error appearing;


" - source files - Mon May 23 14:25:05  2016
Traceback (most recent call last):
  File "/home/leond/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/leond/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I've managed to circumvent this issue by using --force-focal and --force-ccd, however, the final outputs are terrible, an example would be the orthophoto only being just over a 100kb and completely pixelated. The point cloud isn't as bad but has large chunks of data missing.

I know there's nothing wrong with the data set as I have a very nice output from Agisoft. I've also ran one of the test datasets that are provided and that worked without issue.

Trying to run the build from a docker container, my first issue here is following the instructions on the wiki for a git clone docker build, I get;

" export IMAGES=/run/media/leond/PhD/ODMOptimise/
[leond at mandy OpenDroneMap]$ docker build -t opendronemap:latest
docker: "build" requires 1 argument.
See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile "

I've then tried to use the dbrgn/opendronemap docker container and I get similar to running natively on Ubuntu;

" Traceback (most recent call last):
  File "/code/run.py", line 986, in <module>
    prepare_objects()
  File "/code/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "

I'd also read on the mailing list about using the /tree/dev version available on git but I'm unable to clone that url.

I appreciate there's probably more than one unrelated issue here (and a couple that are). I'd really like to try and get ODM working and with usable outputs, so any advice would be welcomed.

Cheers,


Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/opendronemap-users/attachments/20160531/8cf5e475/attachment.html>


More information about the OpenDroneMap-users mailing list