OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
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
virtual ~HeatMapSaver()
void saveHeatMaps(const std::vector< Array< float >> &heatMaps, const std::string &fileName) const
HeatMapSaver(const std::string &directoryPath, const std::string &imageFormat)
#define OP_API
Definition: macros.hpp:18