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
videoSaver.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FILESTREAM_VIDEO_SAVER_HPP
2 #define OPENPOSE_FILESTREAM_VIDEO_SAVER_HPP
3 
4 #include <opencv2/core/core.hpp> // cv::Mat
5 #include <opencv2/highgui/highgui.hpp> // cv::VideoWriter
7 
8 namespace op
9 {
11  {
12  public:
13  VideoSaver(const std::string& videoSaverPath, const int cvFourcc, const double fps, const Point<int>& cvSize);
14 
15  VideoSaver(const std::vector<std::string>& videoSaverPaths, const int cvFourcc, const double fps, const Point<int>& cvSize);
16 
17  bool isOpened();
18 
19  void write(const cv::Mat& cvMat);
20 
21  void write(const std::vector<cv::Mat>& cvMats);
22 
23  private:
24  std::vector<cv::VideoWriter> mVideoWriters;
25 
27  };
28 }
29 
30 #endif // OPENPOSE_FILESTREAM_VIDEO_SAVER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:30
Definition: videoSaver.hpp:10
#define OP_API
Definition: macros.hpp:15
std::string string
Definition: cl2.hpp:574