mapillary / mapillary/OpenSfM

Possible optimization - use only `two_view_reconstruction_plane_based`

Open
#771 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement sfm-reconstruction
Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

In two_view_reconstruction_general, first OpenSfM tries the general two_view_reconstruction and after that two_view_reconstruction_plane_based. Would it significantly speed up processing if there were a flag to only use two_view_reconstruction_plane_based when the user knows the input is from something like a drone flyover of an agricultural field?

https://github.com/mapillary/OpenSfM/blob/97f29b0a6f894bffae088ca9cb54305ec110b654/opensfm/reconstruction.py#L467-L508

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read opensfm/reconstruction.py around two_view_reconstruction_general and the linked lines 467-508. Compare processing with the general and plane-based reconstruction paths on the stated drone or agricultural-field case, and determine whether a user-selectable plane-only option provides a meaningful speedup. Done means the performance trade-off and the scope of any flag are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.