43 #ifndef vpOpenCVGrabber_h 44 #define vpOpenCVGrabber_h 46 #include <visp3/core/vpConfig.h> 48 #if ( defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION < 0x020408)) 50 #if VISP_HAVE_OPENCV_VERSION >= 0x020101 51 # include <opencv2/highgui/highgui.hpp> 56 #include <visp3/core/vpImage.h> 57 #include <visp3/core/vpFrameGrabber.h> 58 #include <visp3/core/vpRGBa.h> 107 void getFramerate(
double & framerate);
108 void setFramerate(
const double framerate);
110 void setWidth(
const unsigned int width);
111 void setHeight(
const unsigned int height);
113 void setDeviceType(
int type);
115 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