/home/rays/src/opensrc/tesseract-ocr/textord/wordseg.h File Reference

#include "params.h"
#include "blobbox.h"
#include "notdll.h"
#include "textord.h"

Go to the source code of this file.

Namespaces

namespace  tesseract

Functions

void make_single_word (bool one_blob, TO_ROW_LIST *rows, ROW_LIST *real_rows)
void make_words (tesseract::Textord *textord, ICOORD page_tr, float gradient, BLOCK_LIST *blocks, TO_BLOCK_LIST *port_blocks)
void set_row_spaces (TO_BLOCK *block, FCOORD rotation, BOOL8 testing_on)
inT32 row_words (TO_BLOCK *block, TO_ROW *row, inT32 maxwidth, FCOORD rotation, BOOL8 testing_on)
inT32 row_words2 (TO_BLOCK *block, TO_ROW *row, inT32 maxwidth, FCOORD rotation, BOOL8 testing_on)
void make_real_words (tesseract::Textord *textord, TO_BLOCK *block, FCOORD rotation)
ROWmake_rep_words (TO_ROW *row, TO_BLOCK *block)
WERDmake_real_word (BLOBNBOX_IT *box_it, inT32 blobcount, BOOL8 bol, uinT8 blanks)

Variables

bool textord_fp_chopping = TRUE
bool textord_force_make_prop_words = FALSE
bool textord_chopper_test = FALSE

Function Documentation

WERD* make_real_word ( BLOBNBOX_IT *  box_it,
inT32  blobcount,
BOOL8  bol,
uinT8  blanks 
)
void make_real_words ( tesseract::Textord textord,
TO_BLOCK block,
FCOORD  rotation 
)
ROW* make_rep_words ( TO_ROW row,
TO_BLOCK block 
)
void make_single_word ( bool  one_blob,
TO_ROW_LIST *  rows,
ROW_LIST *  real_rows 
)
void make_words ( tesseract::Textord textord,
ICOORD  page_tr,
float  gradient,
BLOCK_LIST *  blocks,
TO_BLOCK_LIST *  port_blocks 
)

make_words

Arrange the blobs into words.

inT32 row_words ( TO_BLOCK block,
TO_ROW row,
inT32  maxwidth,
FCOORD  rotation,
BOOL8  testing_on 
)
inT32 row_words2 ( TO_BLOCK block,
TO_ROW row,
inT32  maxwidth,
FCOORD  rotation,
BOOL8  testing_on 
)
void set_row_spaces ( TO_BLOCK block,
FCOORD  rotation,
BOOL8  testing_on 
)

Variable Documentation

bool textord_chopper_test = FALSE

"Chopper is being tested."

"Force proportional word segmentation on all rows"

bool textord_fp_chopping = TRUE

"Do fixed pitch chopping"

Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3