ccmain/tessedit.h

Go to the documentation of this file.
00001 
00020 #ifndef           TESSEDIT_H
00021 #define           TESSEDIT_H
00022 
00023 #include          "tessclas.h"
00024 #include          "ocrclass.h"
00025 #include                    "pgedit.h"
00026 #include          "notdll.h"
00027 
00028 // Includes libtiff if HAVE_LIBTIFF is defined
00029 #ifdef HAVE_LIBTIFF
00030 #ifdef GOOGLE3
00031 #include "third_party/tiff/tiffio.h"
00032 #else
00033 #include "tiffio.h"
00034 #endif
00035 #endif
00036 
00037 extern ETEXT_DESC *global_monitor; // progress monitor
00038 
00039 int init_tesseract(const char *arg0,
00040                    const char *textbase,
00041                    const char *configfile,
00042                    int configc,
00043                    const char *const *configv);
00044 void recognize_page(STRING& image_name);
00045 void end_tesseract();
00046 
00047 #ifdef _TIFFIO_
00048 void read_tiff_image(TIFF* tif, IMAGE* image);
00049 #endif
00050 
00051 //handle for "MODES"
00052 void extend_menu(RADIO_MENU *modes_menu,
00053                  INT16 modes_id_base,         //mode cmd ids offset
00054                  NON_RADIO_MENU *other_menu,  //handle for "OTHER"
00055                  INT16 other_id_base          //mode cmd ids offset
00056                 );
00057                                  //current mode
00058 void extend_moded_commands(INT32 mode,
00059                            BOX selection_box  //area selected
00060                           );
00061                                  //current mode
00062 void extend_unmoded_commands(INT32 cmd_event,
00063                              char *new_value  //changed value if any
00064                             );
00065 void set_tess_tweak_vars(); 
00066 #endif

Generated on Wed Feb 28 19:49:07 2007 for Tesseract by  doxygen 1.5.1