Upgrade OpenSfM and fix pixi-build integration#2053
Open
spwoodcock wants to merge 7 commits into
Open
Conversation
installed via pypi to avoid conflicts with pyarrow/libparquet
…ild env to crash opensfm
…od lib separation
…aders mandatory for OpenSfM after upgrade
…with Makefile dir creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2009
Fixes #1745
Fixes OpenDroneMap/OpenSfM#45
This PR
pixibranch and thought I would try to pull in the latest changes by Yann to OpenSfMoatswith the final image, to see where we get to.pixibranch: 1b3f572 2038f0d and 6c47d7f as they seemed more general fixes for the build.Details
osfm.pyslightly to make it work with latest OpenSfM.rerun-sdkwas required by OpenSfM.gperftoolsto be prod-only (not build), else ODM crashed.pixi.tomlto correctly pick up all the built libs at runtime.The resulting build
I have pushed
ghcr.io/opendronemap/odm:2026-07-17-latest-opensfmfor anyone to test out 🙏EDIT: damn, I just realised https://github.com/orgs/OpenDroneMap/packages/container/odm/settings is private. If anyone with repo access could make it public, it would be a big help!
Testing
A small test to check all the outputs.
I plan to set up a server and run the image through
oatsnext.I only tested on Linux, via containerd (docker).
As far as I see, everything looks cross platform. The only uncertainty is FPCFilter, which should be test compiled on Windows / Mac to be sure.
Test Data
13 photos captured by a DJI Mini 4 Pro:
https://drive.google.com/drive/folders/1HhH4n2f0qnZJRSrzfM9VdtABhGttCB7a?usp=sharing
Test Command
This ran in about 7 mins or so on my machine - much quicker than I ever remember ODM running!
Outcome
See outputs / logs below for full details.
The numbers all confirm:
Outputs / Logs
Ortho
Ortho looks great, correctly georeferenced, accurate colours.
DSM
Point Cloud