OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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
4 #include <openpose/core/common.hpp>
5 #include <openpose/filestream/fileSaver.hpp>
6
7 namespace op
8 {
9 class OP_API PeopleJsonSaver : public FileSaver
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
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