Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef TORDMAIN_H
00021 #define TORDMAIN_H
00022
00023 #include <time.h>
00024 #include "params.h"
00025 #include "ocrblock.h"
00026 #include "blobs.h"
00027 #include "blobbox.h"
00028 #include "notdll.h"
00029
00030 struct Pix;
00031 namespace tesseract {
00032 class Tesseract;
00033 }
00034
00035 void make_blocks_from_blobs(
00036 TBLOB *tessblobs,
00037 const char *filename,
00038 ICOORD page_tr,
00039 BOOL8 do_shift,
00040 BLOCK_LIST *blocks
00041 );
00042 void SetBlobStrokeWidth(Pix* pix, BLOBNBOX* blob);
00043 void assign_blobs_to_blocks2(Pix* pix, BLOCK_LIST *blocks,
00044 TO_BLOCK_LIST *port_blocks);
00045 void textord_page(
00046 ICOORD page_tr,
00047 BLOCK_LIST *blocks,
00048 TO_BLOCK_LIST *land_blocks,
00049 TO_BLOCK_LIST *port_blocks,
00050 tesseract::Tesseract*
00051 );
00052 void tweak_row_baseline(ROW *row,
00053 double blshift_maxshift,
00054 double blshift_xfraction);
00055 inT32 blob_y_order(
00056 void *item1,
00057 void *item2);
00058 #endif