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
imageSaver.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
2 #define OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
3 
4 #include <opencv2/core/core.hpp> // cv::Mat
7 
8 namespace op
9 {
10  class OP_API ImageSaver : public FileSaver
11  {
12  public:
13  ImageSaver(const std::string& directoryPath, const std::string& imageFormat);
14 
15  virtual ~ImageSaver();
16 
17  void saveImages(const std::vector<cv::Mat>& cvOutputDatas, const std::string& fileName) const;
18 
19  private:
20  const std::string mImageFormat;
21  };
22 }
23 
24 #endif // OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
Definition: imageSaver.hpp:10
Definition: fileSaver.hpp:9
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574