All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
imageSaver.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
#define OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
#include <opencv2/core/core.hpp> // cv::Mat
#include <openpose/core/common.hpp>
#include <openpose/filestream/fileSaver.hpp>
namespace op
{
class OP_API ImageSaver : public FileSaver
{
public:
ImageSaver(const std::string& directoryPath, const std::string& imageFormat);
virtual ~ImageSaver();
void saveImages(const std::vector<cv::Mat>& cvOutputDatas, const std::string& fileName) const;
private:
const std::string mImageFormat;
};
}
#endif // OPENPOSE_FILESTREAM_IMAGE_SAVER_HPP
op::ImageSaver
Definition: imageSaver.hpp:10
common.hpp
op::FileSaver
Definition: fileSaver.hpp:9
fileSaver.hpp
OP_API
#define OP_API
Definition: macros.hpp:19
cl::string
std::string string
Definition: cl2.hpp:574