OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator 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 
6 
7 namespace op
8 {
14  {
15  public:
21  explicit VideoReader(const std::string& videoPath);
22 
23  std::string getFrameName();
24 
25  inline double get(const int capProperty)
26  {
27  return VideoCaptureReader::get(capProperty);
28  }
29 
30  inline void set(const int capProperty, const double value)
31  {
32  VideoCaptureReader::set(capProperty, value);
33  }
34 
35  private:
36  const std::string mPathName;
37 
38  cv::Mat getRawFrame();
39 
41  };
42 }
43 
44 #endif // OPENPOSE_PRODUCER_VIDEO_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:25
virtual double get(const int capProperty)=0
Definition: videoReader.hpp:13
Definition: videoCaptureReader.hpp:15
virtual void set(const int capProperty, const double value)=0
#define OP_API
Definition: macros.hpp:5
void set(const int capProperty, const double value)
Definition: videoReader.hpp:30