Wanting to know workflow of OpenSFM
Nobody has claimed this yet.
- 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
- Run opensfm(Linux)/opensfm.dat(Windows) with command
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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