[docs]classVideoCommand(Command):""" Command-line interface for processing videos. """
[docs]@staticmethoddefsetup(parser:argparse.ArgumentParser):""" Sets up the command. :param parser: The argument parser. :return: """subparsers=parser.add_subparsers(title="available commands")register_command(subparsers,"manipulation",ManipulationCommand)register_command(subparsers,"pose",PoseEstimationCommand)register_command(subparsers,"face",FaceAnalysisCommand)register_command(subparsers,"tracking",TrackingCommand)
[docs]@staticmethoddefexecute(parser:argparse.ArgumentParser,args:argparse.Namespace):""" Executes the command. :param parser: The argument parser. :param args: The arguments. :return: """parser.print_help()