chiark / gitweb /
wip pager - before change to not converting until sure
[ypp-sc-tools.db-live.git] / pctb / ocr.h
index d8491e68f7dfef0eb0ad634e5473353bfeb092a6..d9a25f7a790da26812b5352a5d397f4c94e18352 100644 (file)
 #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 {
@@ -52,6 +55,10 @@ 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