OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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
4 #include <openpose/core/common.hpp>
5 #include <openpose/producer/producer.hpp>
6 #include <openpose/producer/spinnakerWrapper.hpp>
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
51 DELETE_COPY(FlirReader);
52 };
53 }
54
55 #endif // OPENPOSE_PRODUCER_FLIR_READER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
op::Producer
Definition: producer.hpp:16
op::Point< int >
op::SpinnakerWrapper
Definition: spinnakerWrapper.hpp:12
common.hpp
spinnakerWrapper.hpp
op::FlirReader
Definition: flirReader.hpp:15
producer.hpp
OP_API
#define OP_API
Definition: macros.hpp:19
cl::string
std::string string
Definition: cl2.hpp:574