1 #ifndef OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
2 #define OPENPOSE_PRODUCER_VIDEO_CAPTURE_READER_HPP
21 const std::string& cameraParameterPath,
const bool undistortImage,
22 const int numberViews);
30 const std::string& cameraParameterPath,
const bool undistortImage,
31 const int numberViews);
45 virtual double get(
const int capProperty) = 0;
47 virtual void set(
const int capProperty,
const double value) = 0;
54 void resetWebcam(
const int index,
const bool throwExceptionIfNoOpened);
59 struct ImplVideoCaptureReader;
60 std::unique_ptr<ImplVideoCaptureReader> upImpl;
virtual std::string getNextFrameName()=0
virtual Matrix getRawFrame()=0
VideoCaptureReader(const std::string &path, const ProducerType producerType, const std::string &cameraParameterPath, const bool undistortImage, const int numberViews)
virtual double get(const int capProperty)=0
virtual ~VideoCaptureReader()
virtual std::vector< Matrix > getRawFrames()=0
virtual bool isOpened() const
virtual void set(const int capProperty, const double value)=0
void resetWebcam(const int index, const bool throwExceptionIfNoOpened)
VideoCaptureReader(const int index, const bool throwExceptionIfNoOpened, const std::string &cameraParameterPath, const bool undistortImage, const int numberViews)
#define DELETE_COPY(className)