OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
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<Matrix> getCameraMatrices();
27 
28  std::vector<Matrix> getCameraExtrinsics();
29 
30  std::vector<Matrix> 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  unsigned long long mFrameNameCounter;
46 
47  Matrix getRawFrame();
48 
49  std::vector<Matrix> getRawFrames();
50 
52  };
53 }
54 
55 #endif // OPENPOSE_PRODUCER_FLIR_READER_HPP
bool isOpened() const
double get(const int capProperty)
virtual ~FlirReader()
std::string getNextFrameName()
std::vector< Matrix > getCameraMatrices()
FlirReader(const std::string &cameraParametersPath, const Point< int > &cameraResolution, const bool undistortImage=true, const int cameraIndex=-1)
std::vector< Matrix > getCameraIntrinsics()
std::vector< Matrix > getCameraExtrinsics()
void set(const int capProperty, const double value)
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32