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 "2.0"
00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
00022
00023
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include <unistd.h>
00027 #include <limits.h>
00028
00029
00030
00031
00032 #include <opencv/cv.h>
00033 #include <opencv/highgui.h>
00034
00035
00036 #include <X11/Xlib.h>
00037 #include <X11/Xutil.h>
00038 #include <X11/extensions/XTest.h>
00039
00040
00041 typedef struct {
00042 int x, y;
00043 } cvaPoint;
00044
00045
00046
00047 typedef struct {
00048
00049 IplImage *cvaImage;
00050 char *fileName;
00051
00052 cvaPoint resultPoint;
00053 int searchMethod;
00054 int tolerance;
00055
00056 } cvautomationList;
00057
00058
00059
00060
00061 #include <libcvautomation/libcvautomation-opencv.h>
00062 #include <libcvautomation/libcvautomation-xlib.h>
00063 #include <libcvautomation/libcvautomation-xtest.h>
00064
00065 #endif
00066