47 #ifndef vpOpenCVGrabber_h
48 #define vpOpenCVGrabber_h
50 #include <visp/vpConfig.h>
52 #if ( defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION < 0x020408))
54 #if VISP_HAVE_OPENCV_VERSION >= 0x020101
55 # include <opencv2/highgui/highgui.hpp>
60 #include <visp/vpImage.h>
61 #include <visp/vpFrameGrabber.h>
62 #include <visp/vpRGBa.h>
111 void getFramerate(
double & framerate);
112 void setFramerate(
const double framerate);
114 void setWidth(
const unsigned int width);
115 void setHeight(
const unsigned int height);
117 void setDeviceType(
int type);
119 void setFlip(
bool flipType);
virtual void open(vpImage< unsigned char > &I)=0
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void acquire(vpImage< unsigned char > &I)=0