AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
|
The OpenPoseCommand class is a class that implements a command to start and run OpenPose. More...
#include <SystemCommand.hpp>
Public Member Functions | |
void | executeCommand (int *argc, char ***argv) |
This method is responsible for executing commands on the system based on the filled command string. If the string is empty, then no command is executed. More... | |
Protected Member Functions | |
void | setCommand (int *argc, char ***argv) override |
Set the string command to an OpenPose properly formatted command. More... | |
void | setCommand (std::string command) |
Set the string command with a particularly given string passed as a parameter. More... | |
std::string | getCommand (void) |
Get the string command. More... | |
Private Attributes | |
std::string | command |
The final command given to the system by the program. More... | |
The OpenPoseCommand class is a class that implements a command to start and run OpenPose.
Definition at line 88 of file SystemCommand.hpp.
|
inherited |
This method is responsible for executing commands on the system based on the filled command string. If the string is empty, then no command is executed.
argc | pointer to argc from the main function or based on what the program reads from the configuration file. |
argv | pointer to argv from the main function or based on what the program reads from the configuration file. |
Definition at line 23 of file SystemCommand.cpp.
References SystemCommand::getCommand(), and SystemCommand::setCommand().
Referenced by FacadeSingleton::cleanBuildFolder(), and FacadeSingleton::getVideoBodyKeyPoints().
|
protectedinherited |
Get the string command.
Definition at line 19 of file SystemCommand.cpp.
References SystemCommand::command.
Referenced by SystemCommand::executeCommand().
|
overrideprotectedvirtual |
Set the string command to an OpenPose properly formatted command.
argc | pointer to argc from the main function. |
argv | pointer to argv from the main function. |
Implements SystemCommand.
Definition at line 130 of file OpenPoseCommand.cpp.
References UsageManager::get_argv(), UsageManager::getInstance(), imagesFolderOffset, openPoseExecuteCommandOffset, openPoseFolderOffset, outputFolderOffset, SystemCommand::setCommand(), USAGE_MANAGER_NULLPTR_ERROR, and USAGE_MANAGER_NULLPTR_SCOPE.
|
protectedinherited |
Set the string command with a particularly given string passed as a parameter.
command |
Definition at line 15 of file SystemCommand.cpp.
References SystemCommand::command.
|
privateinherited |
The final command given to the system by the program.
Definition at line 33 of file SystemCommand.hpp.
Referenced by SystemCommand::getCommand(), and SystemCommand::setCommand().