1 #ifndef OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
2 #define OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
4 #include <opencv2/core/core.hpp>
5 #include <opencv2/highgui/highgui.hpp>
23 const std::string& cameraParameterPath,
const bool undistortImage,
24 const int numberViews);
32 const std::string& cameraParameterPath,
const bool undistortImage,
33 const int numberViews);
43 virtual bool isOpened()
const;
47 virtual double get(
const int capProperty) = 0;
49 virtual void set(
const int capProperty,
const double value) = 0;
52 virtual cv::Mat getRawFrame() = 0;
54 virtual std::vector<cv::Mat> getRawFrames() = 0;
56 void resetWebcam(
const int index,
const bool throwExceptionIfNoOpened);
59 cv::VideoCapture mVideoCapture;
65 #endif // OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:34
Definition: videoCaptureReader.hpp:15
Definition: producer.hpp:16
ProducerType
Definition: enumClasses.hpp:29
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574