Skip to content

[FEATURE_REQUEST] Implement Faster OpenSFM by Yan Noun #45

Closed

Description

@ichsan2895

This PR makes OpenSFM significantly faster in mapper phase.
I have test it by myself.

Dataset 1st = personal dataset with 17 images
Before
Image
After (almost 1.6x times speed gain)
Image

Somehow, it does not merge yet into mapillary/opensfm with unknown reason.

Another idea from me that worked well:

If you compile latest commit of Ceres with CuDSS (Cuda Direct Sparse Solver) library, it supports GPU acceleration in mapper.
Just change the code:

Before (southbuilding from colmap example dataset that contains 128 images)

  options.sparse_linear_algebra_library_type = ceres::SUITE_SPARSE;
Image

After

  options.sparse_linear_algebra_library_type = ceres::CUDA_SPARSE;
  options.dense_linear_algebra_library_type = ceres::CUDA;
Image Image

I hope it merges into ODM

Activity

  1. DodgySpaniard commented on Aug 5, 2026

    @DodgySpaniard
    Member

    branch 370 is now on top of the latest opensfm/opensfm with a cleaned up and condenser version of our ODM custom changes.

    Kudos to Sam for starting this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions