opensfm/commands/align_submodels.py (11 lines of code) (raw):
from opensfm.actions import align_submodels
from . import command
import argparse
from opensfm.dataset import DataSet
class Command(command.CommandBase):
name = "align_submodels"
help = "Align submodel reconstructions"
def run_impl(self, dataset: DataSet, args: argparse.Namespace) -> None:
align_submodels.run_dataset(dataset)
def add_arguments_impl(self, parser: argparse.ArgumentParser) -> None:
pass