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  void save(const std::vector<std::pair<Array<float>, std::string>>& keypointVector,
15  const std::vector<std::vector<std::array<float,3>>>& candidates,
16  const std::string& fileName, const bool humanReadable = true) const;
17  };
18 }
19 
20 #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:16
std::string string
Definition: cl2.hpp:574