00001 00019 #ifndef TFACE_H 00020 #define TFACE_H 00021 00022 #include "host.h" 00023 #include "choicearr.h" 00024 #include "tessclas.h" 00025 #include "cutil.h" 00026 00027 /*---------------------------------------------------------------------------- 00028 Function Prototypes 00029 ----------------------------------------------------------------------------*/ 00030 int start_recog(const char *configfile, const char *imagebase); 00031 00032 void program_editup(const char *configfile); 00033 00034 void program_editup2(const char *imagebase); 00035 00036 void edit_with_ocr(const char *imagename); 00037 00038 int end_recog(); 00039 00040 void program_editdown(INT32 elasped_time); 00041 00042 void set_pass1(); 00043 00044 void set_pass2(); 00045 00046 CHOICES_LIST cc_recog(TWERD *tessword, 00047 A_CHOICE *best_choice, 00048 A_CHOICE *best_raw_choice, 00049 BOOL8 tester, 00050 BOOL8 trainer); 00051 00052 int dict_word(const char *word); 00053 #endif