tesseract/cutil/globals.h
theraysmith 0a53f8c5bf Preparations for unicodization
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@34 d0cd1f9f-072b-0410-8dd7-cf729c803f20
2007-05-16 01:18:59 +00:00

73 lines
2.7 KiB
C

/* -*-C-*-
********************************************************************************
*
* File: globals.h (Formerly globals.h)
* Description: Global Variables for Wise Owl
* Author: Mark Seaman, OCR Technology
* Created: Thu Dec 21 11:38:36 1989
* Modified: Thu Jan 4 17:13:00 1990 (Mark Seaman) marks@hpgrlt
* Language: C
* Package: N/A
* Status: Experimental (Do Not Distribute)
*
* (c) Copyright 1989, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
** http://www.apache.org/licenses/LICENSE-2.0
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
#ifndef GLOBALS_H
#define GLOBALS_H
#include "tessclas.h"
#include "const.h"
#include "unicharset.h"
#include "strngs.h"
#include <stdio.h>
/*----------------------------------------------------------------------
V a r i a b l e s
----------------------------------------------------------------------*/
//extern IMAGE info; /*image info record*/
extern TBLOB *pageblobs; /*first blob on page */
extern TEXTBLOCK *pageblocks; /*first block on page */
/*class definitions */
extern char classes[CLASSIZE][CLASSLENGTH];
extern int resolution; /*scanner res in dpi */
extern int acts[MAXPROC]; /*action flags */
extern int debugs[MAXPROC]; /*debug flags */
extern int plots[MAXPROC]; /*plot flags */
extern int corners[4]; /*corners of scan window */
extern int optind; /*option index */
extern char *optarg; /*option argument */
/*image file name */
extern char imagefile[FILENAMESIZE];
/* main directory */
extern char directory[FILENAMESIZE];
extern char *debugfile; /* debug file name */
extern int plots_fx;
extern int plots_ocr;
extern int debugs_fx;
extern int debugs_ocr;
extern int acts_fx;
extern int acts_ocr;
extern char *demodir;
extern FILE *debugfp; /*debug log file */
extern UNICHARSET unicharset; /* The UNICHARSET variable that Tesseract uses internally */
extern STRING language_data_path_prefix;
#endif