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>
39 virtual bool isOpened()
const;
43 virtual double get(
const int capProperty) = 0;
45 virtual void set(
const int capProperty,
const double value) = 0;
48 virtual cv::Mat getRawFrame() = 0;
50 virtual std::vector<cv::Mat> getRawFrames() = 0;
52 void resetWebcam(
const int index,
const bool throwExceptionIfNoOpened);
55 cv::VideoCapture mVideoCapture;
61 #endif // OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:34
Definition: videoCaptureReader.hpp:15
Definition: producer.hpp:15
ProducerType
Definition: enumClasses.hpp:28
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574