diff options
Diffstat (limited to 'Utilidades/src/OpenCVCamera.h')
-rw-r--r-- | Utilidades/src/OpenCVCamera.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Utilidades/src/OpenCVCamera.h b/Utilidades/src/OpenCVCamera.h deleted file mode 100644 index 500578a..0000000 --- a/Utilidades/src/OpenCVCamera.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * OpenCVCamera.h - * - * Created on: 22/02/2011 - * @author Sebastián Marichal - * sebastian_marichal@hotmail.com - * sebarocker@gmail.com - * - * Universidad de la República, Montevideo , Uruguay - */ - -#ifndef OPENCVCAMERA_H_ -#define OPENCVCAMERA_H_ - -#include <stdio.h> - -#include <opencv/cv.h> -#include <opencv/cxcore.h> -#include <opencv/highgui.h> - -class OpenCVCamera { - -private: - CvCapture* capture; - IplImage* frame; - -public: - - const static int READ_FROM_CAM = 0; - const static int READ_FROM_FILE = 1; - - //Constructor - OpenCVCamera(); - //Destructor - ~OpenCVCamera(); - - void getInfo(); - /** - * tipo = 0 lee de la camara web - * tipo = 1 lee del archivo file - */ - int initCamera(int tipo, const char * file,int width,int height); - - IplImage* queryFrame(); - - IplImage* getLastFrame(); -}; - -#endif /* OPENCVCAMERA_H_ */ |