chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip fetching images from X
[ypp-sc-tools.web-live.git]
/
pctb
/
ocr.h
diff --git
a/pctb/ocr.h
b/pctb/ocr.h
index 4b8ff05b9db1e760c528e54fb4d29448cb8f9bbc..d8491e68f7dfef0eb0ad634e5473353bfeb092a6 100644
(file)
--- a/
pctb/ocr.h
+++ b/
pctb/ocr.h
@@
-14,6
+14,13
@@
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/wait.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
+49,11
@@
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 DEBUG_RECTANGLES
+#define DEBUG_RECTANGLES
// #define DEBUG_OCR
#endif /*OCR_H*/
// #define DEBUG_OCR
#endif /*OCR_H*/