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