AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
|
OutputManager class is a class that abstracts final output-producing operations. An output format inherits from this class, such as OutputManagerJSON. More...
#include <OutputManager.hpp>
Public Member Functions | |
virtual | ~OutputManager ()=default |
Destroy the Output Manager object. More... | |
Protected Member Functions | |
void | setStringOutputData (std::string stringOutputData) |
Set the output file's content. More... | |
std::string | getStringOutputData (void) |
Get the output file's content. More... | |
virtual Json::Value | makeOutputString (std::vector< Point3D * > skeletonPoints3D, std::vector< bool > bodyKeyPointsMap, unsigned int frameID, unsigned int personID)=0 |
This method has to be overridden from OutputManager's subclasses to fill the "stringOutputData" string with a certain value which will be saved later. More... | |
Private Attributes | |
std::string | stringOutputData |
Output file's content. More... | |
OutputManager class is a class that abstracts final output-producing operations. An output format inherits from this class, such as OutputManagerJSON.
Definition at line 32 of file OutputManager.hpp.
|
virtualdefault |
Destroy the Output Manager object.
|
protected |
Get the output file's content.
Definition at line 19 of file OutputManager.cpp.
References stringOutputData.
Referenced by OutputManagerJSON::saveJSON().
|
protectedpure virtual |
This method has to be overridden from OutputManager's subclasses to fill the "stringOutputData" string with a certain value which will be saved later.
skeletonPoints3D | A vector that contains pointers to Points3D whose coordinates represent the skeleton's junctions in certain space coordinates. |
bodyKeyPointsMap | A vector that contains for each body joint retrieved from OpenPose a corresponding boolean that means if that body joint is a valuable and effective body joint or not. |
frameID | current frame ID. |
personID | current person ID within the current frame. |
Implemented in OutputManagerJSON.
|
protected |
Set the output file's content.
stringOutputData |
Definition at line 15 of file OutputManager.cpp.
References stringOutputData.
Referenced by OutputManagerJSON::createJSON(), and OutputManagerJSON::makeOutputString().
|
private |
Output file's content.
Definition at line 37 of file OutputManager.hpp.
Referenced by getStringOutputData(), and setStringOutputData().