OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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(const std::vector<std::pair<Array<float>, std::string>>& keypointVector,
17  const std::vector<std::vector<std::array<float,3>>>& candidates,
18  const std::string& fileName, const bool humanReadable = true) const;
19  };
20 }
21 
22 #endif // OPENPOSE_FILESTREAM_PEOPLE_JSON_SAVER_HPP
Definition: fileSaver.hpp:9
Definition: peopleJsonSaver.hpp:9
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:18
std::string string
Definition: cl2.hpp:574