All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
flirReader.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_PRODUCER_FLIR_READER_HPP
#define OPENPOSE_PRODUCER_FLIR_READER_HPP
#include <openpose/core/common.hpp>
#include <openpose/producer/producer.hpp>
#include <openpose/producer/spinnakerWrapper.hpp>
namespace op
{
class OP_API FlirReader : public Producer
{
public:
explicit FlirReader(const std::string& cameraParametersPath, const Point<int>& cameraResolution,
const bool undistortImage = true, const int cameraIndex = -1);
virtual ~FlirReader();
std::vector<cv::Mat> getCameraMatrices();
std::vector<cv::Mat> getCameraExtrinsics();
std::vector<cv::Mat> getCameraIntrinsics();
std::string getNextFrameName();
bool isOpened() const;
void release();
double get(const int capProperty);
void set(const int capProperty, const double value);
private:
SpinnakerWrapper mSpinnakerWrapper;
Point<int> mResolution;
long long mFrameNameCounter;
cv::Mat getRawFrame();
std::vector<cv::Mat> getRawFrames();
DELETE_COPY(FlirReader);
};
}
#endif // OPENPOSE_PRODUCER_FLIR_READER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
op::Producer
Definition: producer.hpp:15
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