13#include <opencv2/opencv.hpp>
62 NewCamera(
int width,
int height, std::string threadName);
A runnable whose taskMethod is invoked back to back, with the rate set by whatever the taskMethod blo...
Definition FreeRunningRepeatingTask.h:43
Definition NewCamera.h:20
std::atomic< bool > frameRequested
Definition NewCamera.h:43
bool startupCompleted
Definition NewCamera.h:54
cv::VideoCapture * capture
Definition NewCamera.h:25
virtual ~NewCamera()
Definition NewCamera.cpp:55
cv::Mat * takePicture()
Definition NewCamera.cpp:113
cv::Mat * lastFrame
Definition NewCamera.h:31
std::mutex mtx
Definition NewCamera.h:49
cv::Mat capturedFrame
Definition NewCamera.h:37
void taskMethod()
Definition NewCamera.cpp:77