#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <stdarg.h>
+#include <time.h>
+
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/time.h>
+
+
+typedef struct {
+ int w,h;
+ char d[];
+} CanonImage;
+
typedef uint32_t Pixcol;
#define PSPIXCOL(priscan) priscan##32
const char *get_vardir(void);
+CanonImage *file_read_image(FILE *f);
+int main_test(void);
+
+#define MAX_PAGES 100
+extern CanonImage *page_images[MAX_PAGES];
+extern int npages;
+
+
+#define DEBUG_RECTANGLES
+// #define DEBUG_OCR
+
#endif /*OCR_H*/