command

MediaPipe pose estimation command-line interface.

Classes

MediaPipeCommand

Command-line interface for running MediaPipe.

MediaPipeMultiInferenceCommand

Command-line interface for inferring human pose with MediaPipe Holistic.

MediaPipeSingleInferenceCommand

Command-line interface for inferring human pose with MediaPipe Holistic.

class MediaPipeCommand[source]

Bases: Command

Command-line interface for running MediaPipe.

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 MediaPipeMultiInferenceCommand[source]

Bases: Command

Command-line interface for inferring human pose with MediaPipe Holistic.

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 MediaPipeSingleInferenceCommand[source]

Bases: Command

Command-line interface for inferring human pose with MediaPipe Holistic.

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: