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
flirReader.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_PRODUCER_FLIR_READER_HPP
2 #define OPENPOSE_PRODUCER_FLIR_READER_HPP
3 
7 
8 namespace op
9 {
15  class OP_API FlirReader : public Producer
16  {
17  public:
21  explicit FlirReader(const std::string& cameraParametersPath, const Point<int>& cameraResolution,
22  const bool undistortImage = true, const int cameraIndex = -1);
23 
24  virtual ~FlirReader();
25 
26  std::vector<cv::Mat> getCameraMatrices();
27 
28  std::vector<cv::Mat> getCameraExtrinsics();
29 
30  std::vector<cv::Mat> getCameraIntrinsics();
31 
32  std::string getNextFrameName();
33 
34  bool isOpened() const;
35 
36  void release();
37 
38  double get(const int capProperty);
39 
40  void set(const int capProperty, const double value);
41 
42  private:
43  SpinnakerWrapper mSpinnakerWrapper;
44  Point<int> mResolution;
45  long long mFrameNameCounter;
46 
47  cv::Mat getRawFrame();
48 
49  std::vector<cv::Mat> getRawFrames();
50 
52  };
53 }
54 
55 #endif // OPENPOSE_PRODUCER_FLIR_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:34
Definition: producer.hpp:15
Definition: spinnakerWrapper.hpp:12
Definition: flirReader.hpp:15
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574