chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip pager - before change to not converting until sure
[ypp-sc-tools.db-test.git]
/
pctb
/
ocr.h
diff --git
a/pctb/ocr.h
b/pctb/ocr.h
index b77a56f8905f5269cddedc4d33de783490ece33a..d9a25f7a790da26812b5352a5d397f4c94e18352 100644
(file)
--- a/
pctb/ocr.h
+++ b/
pctb/ocr.h
@@
-11,8
+11,18
@@
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
+#include <time.h>
+
#include <sys/types.h>
#include <sys/wait.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
typedef uint32_t Pixcol;
#define PSPIXCOL(priscan) priscan##32
@@
-42,8
+52,15
@@
void debug_flush(void);
const char *get_vardir(void);
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 */
+#define DEBUG_RECTANGLES
+/
/ #define DEBUG_OCR
#endif /*OCR_H*/
#endif /*OCR_H*/