mapillary / mapillary/OpenSfM

Wanting to know workflow of OpenSFM

Open
#801 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

I am trying to understand, how the opensfm works when i use

Command Line Source according to the documentation
bin/opensfm command source

Example
bin/opensfm extract_metadata image/path

My understanding

  1. Run opensfm(Linux)/opensfm.dat(Windows) with command
  2. opensfm calls opensfm_main.py with command & data_path

There is no args inside opensfm_main.py where are the arguments captured?

This is what is called when opensfm_main python file is called

if __name__ == "__main__":
    commands.command_runner(
        commands.opensfm_commands, create_default_dataset_context, dataset_choices=["opensfm"]
    )

I am finding it hard to know how and where command meta_data is being captured and how is it proceeding further

Looking forward for guidance

Thank You

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

Start with opensfm_main.py and the commands.command_runner call shown in the issue, then trace the command and data_path flow for extract_metadata. Read the linked Command Line Source documentation alongside that entry point. Done would be a clear explanation or documentation update showing where the metadata command arguments are captured and how processing proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.