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
videoReader.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_PRODUCER_VIDEO_READER_HPP
2 #define OPENPOSE_PRODUCER_VIDEO_READER_HPP
3 
7 
8 namespace op
9 {
15  {
16  public:
26  explicit VideoReader(const std::string& videoPath, const unsigned int imageDirectoryStereo = 1,
27  const std::string& cameraParameterPath = "");
28 
29  std::vector<cv::Mat> getCameraMatrices();
30 
31  std::vector<cv::Mat> getCameraExtrinsics();
32 
33  std::vector<cv::Mat> getCameraIntrinsics();
34 
35  std::string getNextFrameName();
36 
37  double get(const int capProperty);
38 
39  void set(const int capProperty, const double value);
40 
41  private:
42  const unsigned int mImageDirectoryStereo;
43  const std::string mPathName;
44  CameraParameterReader mCameraParameterReader;
45 
46  cv::Mat getRawFrame();
47 
48  std::vector<cv::Mat> getRawFrames();
49 
51  };
52 }
53 
54 #endif // OPENPOSE_PRODUCER_VIDEO_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
Definition: videoReader.hpp:14
Definition: videoCaptureReader.hpp:15
Definition: cameraParameterReader.hpp:9
#define OP_API
Definition: macros.hpp:16
std::string string
Definition: cl2.hpp:574