command

sam3 tracking command-line interface.

Classes

Sam3Command

Command-line interface for running SAM3.

Sam3InferenceCommand

Command-line interface for tracking video elements with SAM3.

class Sam3Command[source]

Bases: Command

Command-line interface for running SAM3.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns:

class Sam3InferenceCommand[source]

Bases: Command

Command-line interface for tracking video elements with SAM3.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns: