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
flirReader.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_PRODUCER_FLIR_READER_HPP
2 #define OPENPOSE_PRODUCER_FLIR_READER_HPP
3 
6 
7 namespace op
8 {
14  class OP_API FlirReader : public Producer
15  {
16  public:
22  explicit FlirReader();
23 
24  ~FlirReader();
25 
26  std::vector<cv::Mat> getCameraMatrices();
27 
28  std::string getFrameName();
29 
30  inline bool isOpened() const
31  {
32  return true;
33  }
34 
35  void release();
36 
37  double get(const int capProperty);
38 
39  void set(const int capProperty, const double value);
40 
41  private:
42  // PIMPL idiom
43  // http://www.cppsamples.com/common-tasks/pimpl.html
44  struct ImplFlirReader;
45  std::shared_ptr<ImplFlirReader> upImpl;
46 
47  Point<int> mResolution;
48  long long mFrameNameCounter;
49 
50  cv::Mat getRawFrame();
51 
52  std::vector<cv::Mat> getRawFrames();
53 
55  };
56 }
57 
58 #endif // OPENPOSE_PRODUCER_FLIR_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:30
bool isOpened() const
Definition: flirReader.hpp:30
Definition: producer.hpp:16
Definition: flirReader.hpp:14
#define OP_API
Definition: macros.hpp:15