# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../tesseract/gcc41.patch # Copyright (C) 2007 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- tesseract-ocr/cutil/tordvars.h.vanilla 2007-07-02 11:15:41.000000000 +0000 +++ tesseract-ocr/cutil/tordvars.h 2007-07-02 11:16:13.000000000 +0000 @@ -39,6 +39,9 @@ extern FILE *correct_fp; //correct text extern FILE *matcher_fp; +extern "C" +{ + extern int blob_skip; /* Skip to next selection */ extern int num_word_choices; /* How many words to keep */ extern int similarity_enable; /* Switch for Similarity */ @@ -51,6 +54,8 @@ extern int display_text; /* Show word text */ extern int display_blocks; /* Show word as boxes */ +} + extern float overlap_threshold; /* Overlap Threshold */ extern float certainty_threshold; /* When to quit looking */