1 #ifndef OPENPOSE_PRODUCER_WEBCAM_READER_HPP
2 #define OPENPOSE_PRODUCER_WEBCAM_READER_HPP
28 const bool throwExceptionIfNoOpened =
true);
32 std::vector<cv::Mat> getCameraMatrices();
34 std::vector<cv::Mat> getCameraExtrinsics();
36 std::vector<cv::Mat> getCameraIntrinsics();
40 bool isOpened()
const;
42 double get(
const int capProperty);
44 void set(
const int capProperty,
const double value);
48 long long mFrameNameCounter;
51 std::mutex mBufferMutex;
52 std::atomic<bool> mCloseThread;
56 std::atomic<int> mDisconnectedCounter;
59 cv::Mat getRawFrame();
61 std::vector<cv::Mat> getRawFrames();
63 void bufferingThread();
71 #endif // OPENPOSE_PRODUCER_WEBCAM_READER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:34
Definition: videoCaptureReader.hpp:15
Definition: webcamReader.hpp:15
#define OP_API
Definition: macros.hpp:19
std::string string
Definition: cl2.hpp:574