All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
peopleJsonSaver.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
#define OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
#include <openpose/core/common.hpp>
#include <openpose/filestream/fileSaver.hpp>
namespace op
{
class OP_API PeopleJsonSaver : public FileSaver
{
public:
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;
};
}
#endif // OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
common.hpp
op::FileSaver
Definition: fileSaver.hpp:9
fileSaver.hpp
op::Array< float >
op::PeopleJsonSaver
Definition: peopleJsonSaver.hpp:9
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19
cl::string
std::string string
Definition: cl2.hpp:574