<div dir="ltr"><div><div><div>Hi Howard,<br><br></div>Digging deeper: try '--force-ccd' but only after distortion correction:<br><br>My read of things is that Alex Mandel's lencorrection script won't work with GoPro3 (unless they are the same...), until Lensfun supports it: <a href="http://wilson.bronger.org/lensfun_coverage.html">http://wilson.bronger.org/lensfun_coverage.html</a> . The nice thing is this is a good pre-processing step for all sorts of other lenses, with just the change of the <a href="https://github.com/wildintellect/lenscorrection/blob/master/gopro.xml">https://github.com/wildintellect/lenscorrection/blob/master/gopro.xml</a> (Alex is on the list, so he can speak with more authority). Also, it's nice that Alex' script writes a custom EXIF entry in the header, which could be added to the ccd_list.json in a pinch.<br><br></div>Solem's vision blog may be your simplest solution at the moment, just make sure your calibration shots of the checkerboard pattern is in the same video mode as your data are collected, so that you are using the same portion of the CCD for each (I think this matters...).<br><br></div><div><div>I hope that I'll be working on this soon for our own images from the GoPro3.<br></div><div><div><div><br></div><div>Cheers,<br></div><div>Best,<br></div><div>Steve<br></div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 10, 2015 at 6:27 PM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Howard,<br><br></div><div>Welcome! Try forcing the ccd size. Did you do any barrel distortion correction first? This is something ODM doesn't do well (yet) as it only does 3-parameter (not 6-parameter) distortion corrections. This is something that needs worked into the toolchain in the near future.<br><br></div><div>References:<br></div><div><br></div><div>There's a calibration class up here from Cole: <a href="https://github.com/colek42/TrackIt/blob/master/catkin/src/stabilize/src/calibrate.py" target="_blank">https://github.com/colek42/TrackIt/blob/master/catkin/src/stabilize/src/calibrate.py</a><br><br></div><div>plus Alex' work here (GoPro2 only, but a good example): <a href="https://github.com/wildintellect/lenscorrection" target="_blank">https://github.com/wildintellect/lenscorrection</a><br><br></div><div>Finally, see Jan Erik Solem's work here for a full calibration solution:<br><a href="http://www.janeriksolem.net/2014/05/how-to-calibrate-camera-with-opencv-and.html" target="_blank">http://www.janeriksolem.net/2014/05/how-to-calibrate-camera-with-opencv-and.html</a><br><br></div><div>Once you've done the correction and cropped, you'll need to estimate the ccd size of the cropped area, I think, and then it should feed in just fine.<br><br></div><div>Cheers,<br></div><div>Best,<br></div><div>Steve<br><br><br></div><div><br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 10, 2015 at 1:20 PM, Howard Butler <span dir="ltr"><<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
<br>
So I have a 2 min 720 video from a GoPro Hero 3 Black that I ripped out 126 images out of using ffmpeg. I want to attempt to start with that.<br>
<br>
When I attempt to run them, I get the following error:<br>
<br>
> no CCD width or focal length found for image-100.jpg - camera: “ "<br>
<br>
Of course this is a FAQ, but my pattern isn’t quite the same. If I try —force-focal 5.76, which is the GoPro entry in the json file, it still blows up.<br>
<br>
Ideas?<br>
<br>
Thanks,<br>
<br>
Howard<br>
_______________________________________________<br>
OpenDroneMap-users mailing list<br>
<a href="mailto:OpenDroneMap-users@lists.osgeo.org" target="_blank">OpenDroneMap-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>