OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
peopleJsonSaver.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
2 #define OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
3 
6 
7 namespace op
8 {
10  {
11  public:
12  PeopleJsonSaver(const std::string& directoryPath);
13 
14  virtual ~PeopleJsonSaver();
15 
16  void save(
17  const std::vector<std::pair<Array<float>, std::string>>& keypointVector,
18  const std::vector<std::vector<std::array<float,3>>>& candidates, const std::string& fileName,
19  const bool humanReadable = true) const;
20  };
21 }
22 
23 #endif // OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
virtual ~PeopleJsonSaver()
PeopleJsonSaver(const std::string &directoryPath)
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
#define OP_API
Definition: macros.hpp:18