1 #ifndef OPENPOSE_PRODUCER_WEBCAM_READER_HPP
2 #define OPENPOSE_PRODUCER_WEBCAM_READER_HPP
27 const double fps = 30.,
const bool throwExceptionIfNoOpened =
true);
31 std::vector<cv::Mat> getCameraMatrices();
33 std::vector<cv::Mat> getCameraExtrinsics();
35 std::vector<cv::Mat> getCameraIntrinsics();
39 bool isOpened()
const;
41 double get(
const int capProperty);
43 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