00001 /* -*-C-*- 00002 ******************************************************************************** 00003 * 00004 * File: globals.h (Formerly globals.h) 00005 * Description: Global Variables for Wise Owl 00006 * Author: Mark Seaman, OCR Technology 00007 * Created: Thu Dec 21 11:38:36 1989 00008 * Modified: Thu Jan 4 17:13:00 1990 (Mark Seaman) marks@hpgrlt 00009 * Language: C 00010 * Package: N/A 00011 * Status: Experimental (Do Not Distribute) 00012 * 00013 * (c) Copyright 1989, Hewlett-Packard Company. 00014 ** Licensed under the Apache License, Version 2.0 (the "License"); 00015 ** you may not use this file except in compliance with the License. 00016 ** You may obtain a copy of the License at 00017 ** http://www.apache.org/licenses/LICENSE-2.0 00018 ** Unless required by applicable law or agreed to in writing, software 00019 ** distributed under the License is distributed on an "AS IS" BASIS, 00020 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00021 ** See the License for the specific language governing permissions and 00022 ** limitations under the License. 00023 * 00024 *********************************************************************************/ 00025 #ifndef GLOBALS_H 00026 #define GLOBALS_H 00027 00028 #include "tessclas.h" 00029 #include "const.h" 00030 #include "unicharset.h" 00031 #include "strngs.h" 00032 00033 #include <stdio.h> 00034 00035 /*---------------------------------------------------------------------- 00036 V a r i a b l e s 00037 ----------------------------------------------------------------------*/ 00038 //extern IMAGE info; /*image info record*/ 00039 //extern TBLOB *pageblobs; /*first blob on page */ 00040 //extern TEXTBLOCK *pageblocks; /*first block on page */ 00041 // /*class definitions */ 00043 //extern int resolution; /*scanner res in dpi */ 00044 //extern int acts[MAXPROC]; /*action flags */ 00045 //extern int debugs[MAXPROC]; /*debug flags */ 00046 //extern int plots[MAXPROC]; /*plot flags */ 00047 //extern int corners[4]; /*corners of scan window */ 00048 // /*image file name */ 00049 //extern char imagefile[FILENAMESIZE]; 00050 // /* main directory */ 00051 //extern char directory[FILENAMESIZE]; 00052 //extern char *debugfile; /* debug file name */ 00053 00054 //extern int plots_fx; 00055 //extern int plots_ocr; 00056 00057 //extern int debugs_fx; 00058 //extern int debugs_ocr; 00059 00060 //extern int acts_fx; 00061 //extern int acts_ocr; 00062 00063 //extern char *demodir; 00064 //extern FILE *debugfp; /*debug log file */ 00065 00066 //extern UNICHARSET unicharset; /* The UNICHARSET variable that Tesseract uses internally */ 00067 00068 //extern STRING language_data_path_prefix; 00069 00070 #endif