tesseract-doxygen/api/tesseractmain.cpp File Reference

#include "mfcpch.h"
#include <ctype.h>
#include "applybox.h"
#include "control.h"
#include "tessvars.h"
#include "tessedit.h"
#include "baseapi.h"
#include "thresholder.h"
#include "pageres.h"
#include "imgs.h"
#include "varabled.h"
#include "tprintf.h"
#include "tesseractmain.h"
#include "stderr.h"
#include "notdll.h"
#include "mainblk.h"
#include "output.h"
#include "globals.h"
#include "helpers.h"
#include "blread.h"
#include "tfacep.h"
#include "callnet.h"

Defines

#define VARDIR   "configs/"
#define API_CONFIG   "configs/api_config"
#define EXTERN

Functions

void TesseractImage (const char *input_file, IMAGE *image, Pix *pix, int page_index, tesseract::TessBaseAPI *api, STRING *text_out)
int main (int argc, char **argv)

Variables

bool tessedit_create_boxfile = FALSE
bool tessedit_create_hocr = FALSE
bool tessedit_read_image = TRUE
int tessedit_serial_unlv = 0
int tessedit_page_number = -1
bool tessedit_write_images = FALSE
bool tessedit_debug_to_screen = FALSE
const int kMaxIntSize = 22
char szAppName [] = "Tessedit"

Define Documentation

#define API_CONFIG   "configs/api_config"
#define EXTERN
#define VARDIR   "configs/"

Function Documentation

int main ( int  argc,
char **  argv 
)

---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------

void TesseractImage ( const char *  input_file,
IMAGE image,
Pix *  pix,
int  page_index,
tesseract::TessBaseAPI api,
STRING text_out 
)

Variable Documentation

const int kMaxIntSize = 22
char szAppName[] = "Tessedit"

"Output text with boxes"

"Output HTML with hOCR markup"

"Dont use debug file"

"-1 -> All pages, else specific page to process"

"Ensure the image is read"

"0->Whole page, 1->serial no adapt, 2->serial with adapt"

"Capture the image from the IPE"

Generated on Sun Jul 18 17:10:48 2010 for Tesseract by  doxygen 1.6.3