00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef LIBCVAUTOMATION_H
00018 #define LIBCVAUTOMATION_H
00019 
00020 #define LIBCVAUTOMATION_VERSION "1.2"
00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
00022 
00023 
00024 #include <stdio.h>
00025 #include <string.h>
00026 
00027 
00028 #include <opencv/cv.h>
00029 #include <opencv/highgui.h>
00030 
00031 
00032 #include <X11/Xlib.h>
00033 #include <X11/Xutil.h>
00034 #include <X11/extensions/XTest.h>
00035 
00036 
00037 
00038 typedef struct {
00039     
00040     IplImage *cvaImage;
00041     char *fileName;
00042 
00043     CvPoint resultPoint;
00044     int searchMethod;
00045     int tolerance;
00046 
00047 } cvautomationList;
00048 
00049 
00050 typedef struct {
00051     int x, y;
00052 } cvaPoint;
00053 
00054 
00055 
00056 
00057 #include <libcvautomation/libcvautomation-opencv.h>
00058 #include <libcvautomation/libcvautomation-xlib.h>
00059 #include <libcvautomation/libcvautomation-xtest.h>
00060 
00061 #endif 
00062