1 #ifndef OPENPOSE_PRODUCER_WEBCAM_READER_HPP
2 #define OPENPOSE_PRODUCER_WEBCAM_READER_HPP
28 const bool throwExceptionIfNoOpened =
true,
const std::string& cameraParameterPath =
"",
29 const bool undistortImage =
false);
35 bool isOpened()
const;
37 double get(
const int capProperty);
39 void set(
const int capProperty,
const double value);
43 long long mFrameNameCounter;
46 std::mutex mBufferMutex;
47 std::atomic<bool> mCloseThread;
51 std::atomic<int> mDisconnectedCounter;
54 cv::Mat getRawFrame();
56 std::vector<cv::Mat> getRawFrames();
58 void bufferingThread();
66 #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