00001 00026 #include <stdio.h> 00027 #include "globals.h" 00028 00029 //IMAGE info; /*image info record*/ 00031 TBLOB *pageblobs; 00033 TEXTBLOCK *pageblocks; 00035 char classes[CLASSIZE][CLASSLENGTH]; 00036 00038 int resolution; 00040 int acts[MAXPROC]; 00042 int debugs[MAXPROC]; 00044 int plots[MAXPROC]; 00045 00046 /*---------------------------------------------------------------------- 00047 V a r i a b l e s 00048 ----------------------------------------------------------------------*/ 00050 int corners[4]; 00051 00053 char imagefile[FILENAMESIZE]; 00055 char directory[FILENAMESIZE]; 00057 char *debugfile; 00058 00059 int plots_fx; 00060 int plots_ocr; 00061 00062 int debugs_fx; 00063 int debugs_ocr; 00064 00065 int acts_fx; 00066 int acts_ocr; 00067 00068 char *demodir; 00070 int edgefd; 00071 int debugfd; 00072 FILE *debugfp;