OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::PeopleJsonSaver Class Reference

#include <peopleJsonSaver.hpp>

Inheritance diagram for op::PeopleJsonSaver:
op::FileSaver

Public Member Functions

 PeopleJsonSaver (const std::string &directoryPath)
 
virtual ~PeopleJsonSaver ()
 
void save (const std::vector< std::pair< Array< float >, std::string >> &keypointVector, const std::vector< std::vector< std::array< float, 3 >>> &candidates, const std::string &fileName, const bool humanReadable=true) const
 

Additional Inherited Members

- Protected Member Functions inherited from op::FileSaver
 FileSaver (const std::string &directoryPath)
 
virtual ~FileSaver ()
 
std::string getNextFileName (const unsigned long long index) const
 
std::string getNextFileName (const std::string &fileNameNoExtension) const
 

Detailed Description

Definition at line 9 of file peopleJsonSaver.hpp.

Constructor & Destructor Documentation

◆ PeopleJsonSaver()

op::PeopleJsonSaver::PeopleJsonSaver ( const std::string &  directoryPath)

◆ ~PeopleJsonSaver()

virtual op::PeopleJsonSaver::~PeopleJsonSaver ( )
virtual

Member Function Documentation

◆ save()

void op::PeopleJsonSaver::save ( const std::vector< std::pair< Array< float >, std::string >> &  keypointVector,
const std::vector< std::vector< std::array< float, 3 >>> &  candidates,
const std::string &  fileName,
const bool  humanReadable = true 
) const

The documentation for this class was generated from the following file: