tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
TWERD Struct Reference

#include <blobs.h>

Collaboration diagram for TWERD:

Public Member Functions

 TWERD ()
 
 TWERD (const TWERD &src)
 
 ~TWERD ()
 
TWERDoperator= (const TWERD &src)
 
void BLNormalize (const BLOCK *block, const ROW *row, Pix *pix, bool inverse, float x_height, float baseline_shift, bool numeric_mode, tesseract::OcrEngineMode hint, const TBOX *norm_box, DENORM *word_denorm)
 
void CopyFrom (const TWERD &src)
 
void Clear ()
 
void ComputeBoundingBoxes ()
 
int NumBlobs () const
 
TBOX bounding_box () const
 
void MergeBlobs (int start, int end)
 
void plot (ScrollView *window)
 

Static Public Member Functions

static TWERDPolygonalCopy (bool allow_detailed_fx, WERD *src)
 

Public Attributes

GenericVector< TBLOB * > blobs
 
bool latin_script
 

Constructor & Destructor Documentation

◆ TWERD() [1/2]

TWERD::TWERD ( )
inline

◆ TWERD() [2/2]

TWERD::TWERD ( const TWERD src)
inline

◆ ~TWERD()

TWERD::~TWERD ( )
inline

Member Function Documentation

◆ BLNormalize()

void TWERD::BLNormalize ( const BLOCK block,
const ROW row,
Pix *  pix,
bool  inverse,
float  x_height,
float  baseline_shift,
bool  numeric_mode,
tesseract::OcrEngineMode  hint,
const TBOX norm_box,
DENORM word_denorm 
)

◆ bounding_box()

TBOX TWERD::bounding_box ( ) const

◆ Clear()

void TWERD::Clear ( )

◆ ComputeBoundingBoxes()

void TWERD::ComputeBoundingBoxes ( )

◆ CopyFrom()

void TWERD::CopyFrom ( const TWERD src)

◆ MergeBlobs()

void TWERD::MergeBlobs ( int  start,
int  end 
)

◆ NumBlobs()

int TWERD::NumBlobs ( ) const
inline

◆ operator=()

TWERD& TWERD::operator= ( const TWERD src)
inline

◆ plot()

void TWERD::plot ( ScrollView window)

◆ PolygonalCopy()

TWERD * TWERD::PolygonalCopy ( bool  allow_detailed_fx,
WERD src 
)
static

Member Data Documentation

◆ blobs

GenericVector<TBLOB*> TWERD::blobs

◆ latin_script

bool TWERD::latin_script

The documentation for this struct was generated from the following files: