44 #ifndef vpOpenCVGrabber_h
45 #define vpOpenCVGrabber_h
47 #include <visp3/core/vpConfig.h>
49 #if (defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION < 0x020408))
51 #if VISP_HAVE_OPENCV_VERSION >= 0x020101
52 #include <opencv2/highgui/highgui.hpp>
57 #include <visp3/core/vpFrameGrabber.h>
58 #include <visp3/core/vpImage.h>
59 #include <visp3/core/vpRGBa.h>
117 virtual ~vpOpenCVGrabber();
129 void getFramerate(
double &framerate);
130 void setFramerate(
const double framerate);
132 void setWidth(
unsigned int width);
133 void setHeight(
unsigned int height);
135 void setDeviceType(
int type);
137 void setFlip(
bool flipType);
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void open(vpImage< unsigned char > &I)=0
virtual void acquire(vpImage< unsigned char > &I)=0