Skip to content

[FEATURE_REQUEST] Implement Faster OpenSFM by Yan Noun #45

@ichsan2895

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions