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.3"
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
00033 #include <opencv/cv.h>
00034 #include <opencv/highgui.h>
00035
00036
00037 #include <X11/Xlib.h>
00038 #include <X11/Xutil.h>
00039 #include <X11/extensions/XTest.h>
00040
00041
00042 typedef struct {
00043 int x, y;
00044 } cvaPoint;
00045
00046
00047
00048 typedef struct {
00049
00050 IplImage *cvaImage;
00051 char *fileName;
00052
00053 cvaPoint resultPoint;
00054 int searchMethod;
00055 int tolerance;
00056
00057 } cvautomationList;
00058
00059
00060
00061
00062 #include <libcvautomation/libcvautomation-opencv.h>
00063 #include <libcvautomation/libcvautomation-xlib.h>
00064 #include <libcvautomation/libcvautomation-xtest.h>
00065
00066 #endif
00067