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
keypointSaver.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
2 #define OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
3 
7 
8 namespace op
9 {
11  {
12  public:
13  KeypointSaver(const std::string& directoryPath, const DataFormat format);
14 
15  virtual ~KeypointSaver();
16 
17  void saveKeypoints(const std::vector<Array<float>>& keypointVector, const std::string& fileName,
18  const std::string& keypointName) const;
19 
20  private:
21  const DataFormat mFormat;
22  };
23 }
24 
25 #endif // OPENPOSE_FILESTREAM_KEYPOINT_SAVER_HPP
DataFormat
Definition: enumClasses.hpp:6
Definition: keypointSaver.hpp:10
Definition: fileSaver.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