<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:'Courier New',monospace;">
<p>Hi Dakota,</p>
<p><br>
</p>
<p>Thanks for this, really appreciate the reply and info.</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Leon</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dakota Benjamin <dmb2@clevelandmetroparks.com><br>
<b>Sent:</b> 31 May 2016 14:52<br>
<b>To:</b> Debell, Leon; opendronemap-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>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. </p>
<p><br>
</p>
<p>BTW, it was a simple missing "." in your docker build, it should be "<span style="font-family:'Courier New',monospace; font-size:16px">docker build -t opendronemap:latest ."</span></p>
<p><span style="font-family:'Courier New',monospace; font-size:16px"><br>
</span></p>
<p>But I would recommend using the new "official" docker build:</p>
<p></p>
<pre style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace; font-size:13.6px; margin-top:0px; margin-bottom:16px; line-height:1.45; word-wrap:normal; padding:16px; overflow:auto; border-radius:3px; color:rgb(51,51,51); background-color:rgb(247,247,247)"><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace; font-size:13.6px; padding:0px; margin:0px; border-radius:3px; word-break:normal; border:0px; display:inline; overflow:visible; line-height:inherit; word-wrap:normal; background:transparent">export IMAGES=/absolute/path/to/your/project
docker run -v $IMAGES:/images opendronemap/opendronemap:latest</code></pre>
<br>
<p></p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div class="WordSection1">
<p class="MsoNormal"><img alt="http://sig.cmparks.net/cmp-ms-90x122.png" align="left" height="122" hspace="12" width="90" style="-webkit-user-select: none;" src="http://sig.cmparks.net/cmp-ms-90x122.png"><a name="_MailAutoSig" id="LPNoLP"><span style="font-size:14.0pt; font-family:"Arial","sans-serif"; color:#006C56">Dakota
Benjamin<span></span><br>
</span></a><span style=""><span style="font-family:"Arial","sans-serif"; color:#006C56">Geospatial Developer</span></span><span style=""><span style="font-size:9.0pt; font-family:"Arial","sans-serif"; color:#006C56"><br>
</span></span><span style=""><span style="font-size:9.0pt; font-family:"Arial","sans-serif""><a href="http://www.clemetparks.com/" id="LPNoLP">clevelandmetroparks.com</a></span></span></p>
</div>
<p><a title="Ctrl+Click or tap to follow the link" href="http://www.clemetparks.com/" id="LPNoLP"></a></p>
<p></p>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> OpenDroneMap-users <opendronemap-users-bounces@lists.osgeo.org> on behalf of Debell, Leon <ld384@exeter.ac.uk><br>
<b>Sent:</b> Monday, May 23, 2016 11:35:32 AM<br>
<b>To:</b> opendronemap-users@lists.osgeo.org<br>
<b>Subject:</b> [OpenDroneMap-users] ODM processing issue on 1)Ubuntu 14.04 and 2)Docker</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:'Courier New',monospace">
<p>How do,</p>
<p><br>
</p>
<p>I've made several attempts at processing a data set using ODM on an Ubuntu 14.04 distro.</p>
<p><br>
</p>
<p>The git clone and install all went without a hitch, but when I process the images I get this error appearing;</p>
<p><br>
</p>
<p></p>
<div>" - source files - Mon May 23 14:25:05 2016<br>
Traceback (most recent call last):<br>
File "/home/leond/OpenDroneMap/run.py", line 986, in <module><br>
prepare_objects()<br>
File "/home/leond/OpenDroneMap/run.py", line 415, in prepare_objects<br>
fileObject["ccd"] = float(ccdWidths[fileObject["id"]])<br>
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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;</div>
<div><br>
</div>
<div>" <span style="font-size:12pt">export IMAGES=/run/media/leond/PhD/ODMOptimise/</span>
<div>[leond@mandy OpenDroneMap]$ docker build -t opendronemap:latest<br>
docker: "build" requires 1 argument.<br>
See 'docker build --help'.<br>
<br>
Usage: docker build [OPTIONS] PATH | URL | -<br>
<br>
Build an image from a Dockerfile "</div>
<div><br>
</div>
<div>I've then tried to use the dbrgn/opendronemap docker container and I get similar to running natively on Ubuntu;</div>
<div><br>
</div>
<div>" <span style="font-size:12pt">Traceback (most recent call last):</span>
<div> File "/code/run.py", line 986, in <module><br>
prepare_objects()<br>
File "/code/run.py", line 415, in prepare_objects<br>
fileObject["ccd"] = float(ccdWidths[fileObject["id"]])<br>
KeyError: u'RICOH IMAGING COMPANY, LTD. GR II' "</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.<br>
<br>
</div>
</div>
</div>
Cheers,
<p></p>
<p><br>
</p>
<p>Leon</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>