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
heatMapSaver.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
2 #define OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
3 
6 
7 namespace op
8 {
9  class OP_API HeatMapSaver : public FileSaver
10  {
11  public:
12  HeatMapSaver(const std::string& directoryPath, const std::string& imageFormat);
13 
14  virtual ~HeatMapSaver();
15 
16  void saveHeatMaps(const std::vector<Array<float>>& heatMaps, const std::string& fileName) const;
17 
18  private:
19  const std::string mImageFormat;
20  };
21 }
22 
23 #endif // OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
Definition: fileSaver.hpp:9
Definition: heatMapSaver.hpp:9
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574