chiark / gitweb /
invokes yppsc-ocr-resolver for unrecognised pixmap
[ypp-sc-tools.db-test.git] / pctb / ocr.h
index 69ccbe906be30c179d9b0b311aad353f356e04c5..97a5c66997f16efa2abdf586979e21ffc5c9b1be 100644 (file)
 
 #include "common.h"
 
-#include <string.h>
-#include <stdio.h>
-#include <errno.h>
-#include <assert.h>
-#include <stdint.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <inttypes.h>
-
-#include <sys/wait.h>
-
 
 typedef uint32_t Pixcol;
 #define PSPIXCOL(priscan) priscan##32
@@ -67,7 +56,11 @@ OcrResultGlyph *ocr(OcrReader *rd, OcrCellType, int w, Pixcol cols[]);
    * array is valid until next call to ocr()
    */
 
+
 extern const char *o_resolver;
 
+FILE *resolve_start(void);
+void resolve_finish(void);
+
 
 #endif /*OCR_H*/