Odm: Integrate newer OpenSfM

Created on 24 Apr 2018  路  11Comments  路  Source: OpenDroneMap/ODM

Latest version of OpenSfM does local/global bundle adjustment in a well tuned way by default. We should pull in some of these late changes and test, as it should be much more performant doing bundle adjustment on large datasets out of the box, as it were.

(fyi, @dakotabenjamin @pierotofy)

enhancement help wanted

Most helpful comment

I have tested with the latest master. I had build problems, but was able to build OpenSfM separately, and jam it into the right place in ODM and everything worked quite well.

Once I get a chance to troubleshoot my build issues, I'll open a pull request so we can start testing in earnest.

All 11 comments

Using master now on both a 64 core workstation and a 4 core Atom SBC. No errors with smaller sets of images. Subjectively seems to have dropped processing time from 1:15 --> 0:52 minutes on my 119 image test set.

Want help for tests?

Tests and a pull request would be most appreciated!

I can only test for Docker environment, plus I use debian stretch as my base image, a custom docker multi-stage build, along with master or latest releases for source builds.

Are there a set of defined tests to run?

No formal set of tests at this time -- it's useful to test the following: does it run? Is there a significant change in speed? Do the output results change much (subjective). If there's a pull request, than Piero, Dakota, or I will run some tests against known datasets.

does it run? Yes, in my environment
Is there a significant change in speed? Yes, in my environment, see above
Do the output results change much (subjective)? Not really tracked, but could compare if I use the current ODM produced image with and w/o newest OpenSfM. Been more concerned with error free runs and increased speed for running on lower power equipment including arm64

PR - can do once I set up a stock ODM Docker environment and test

@PeterSprague any update on this? do you need help in testing? I would like to see OpenSfM v0.2.0 in ODM!

Nothing new. Used my fork in our Summer field research season on a 4 core fanless Atom unit. Had no or very slow upload speeds, so working off-line on a dedicated unit paid dividends.

To speed up analysis, I have moved back to working with individual georeferenced images instead of orthos to feed my Keras ML models to access forest health. End goal is to have near-real time analysis. Also were significant issues with lack of determinism in the output.

My fork uses mostly master for all the source builds dependencies. Was based off ODM code from later Spring/2018, so didn't have the latest PR that could tighten up the lack of determinism problems.

I have tested with the latest master. I had build problems, but was able to build OpenSfM separately, and jam it into the right place in ODM and everything worked quite well.

Once I get a chance to troubleshoot my build issues, I'll open a pull request so we can start testing in earnest.

This can probably be closed.

But isn't this issue evergreen? :) 馃尣

lol, I suppose it could be.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JCAAUSFRA picture JCAAUSFRA  路  5Comments

pjmaechling picture pjmaechling  路  3Comments

smathermather picture smathermather  路  5Comments

syehorov picture syehorov  路  5Comments

thsant picture thsant  路  5Comments