tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::GeometricClassifierState Struct Reference
Collaboration diagram for tesseract::GeometricClassifierState:

Public Member Functions

 GeometricClassifierState (int dbg_level, GenericVector< RowScratchRegisters > *r, int r_start, int r_end)
 
void AssumeLeftJustification ()
 
void AssumeRightJustification ()
 
const GenericVector< Cluster > & AlignTabs () const
 
const GenericVector< Cluster > & OffsideTabs () const
 
bool IsFullRow (int i) const
 
int AlignsideTabIndex (int row_idx) const
 
bool FirstWordWouldHaveFit (int row_a, int row_b)
 
void PrintRows () const
 
void Fail (int min_debug_level, const char *why) const
 
ParagraphModel Model () const
 

Public Attributes

int debug_level
 
GenericVector< RowScratchRegisters > * rows
 
int row_start
 
int row_end
 
int tolerance
 
bool ltr
 
GenericVector< Clusterleft_tabs
 
GenericVector< Clusterright_tabs
 
tesseract::ParagraphJustification just
 
int margin
 
int first_indent
 
int body_indent
 
int eop_threshold
 

Constructor & Destructor Documentation

◆ GeometricClassifierState()

tesseract::GeometricClassifierState::GeometricClassifierState ( int  dbg_level,
GenericVector< RowScratchRegisters > *  r,
int  r_start,
int  r_end 
)
inline

Member Function Documentation

◆ AlignsideTabIndex()

int tesseract::GeometricClassifierState::AlignsideTabIndex ( int  row_idx) const
inline

◆ AlignTabs()

const GenericVector<Cluster>& tesseract::GeometricClassifierState::AlignTabs ( ) const
inline

◆ AssumeLeftJustification()

void tesseract::GeometricClassifierState::AssumeLeftJustification ( )
inline

◆ AssumeRightJustification()

void tesseract::GeometricClassifierState::AssumeRightJustification ( )
inline

◆ Fail()

void tesseract::GeometricClassifierState::Fail ( int  min_debug_level,
const char *  why 
) const
inline

◆ FirstWordWouldHaveFit()

bool tesseract::GeometricClassifierState::FirstWordWouldHaveFit ( int  row_a,
int  row_b 
)
inline

◆ IsFullRow()

bool tesseract::GeometricClassifierState::IsFullRow ( int  i) const
inline

◆ Model()

ParagraphModel tesseract::GeometricClassifierState::Model ( ) const
inline

◆ OffsideTabs()

const GenericVector<Cluster>& tesseract::GeometricClassifierState::OffsideTabs ( ) const
inline

◆ PrintRows()

void tesseract::GeometricClassifierState::PrintRows ( ) const
inline

Member Data Documentation

◆ body_indent

int tesseract::GeometricClassifierState::body_indent

◆ debug_level

int tesseract::GeometricClassifierState::debug_level

◆ eop_threshold

int tesseract::GeometricClassifierState::eop_threshold

◆ first_indent

int tesseract::GeometricClassifierState::first_indent

◆ just

tesseract::ParagraphJustification tesseract::GeometricClassifierState::just

◆ left_tabs

GenericVector<Cluster> tesseract::GeometricClassifierState::left_tabs

◆ ltr

bool tesseract::GeometricClassifierState::ltr

◆ margin

int tesseract::GeometricClassifierState::margin

◆ right_tabs

GenericVector<Cluster> tesseract::GeometricClassifierState::right_tabs

◆ row_end

int tesseract::GeometricClassifierState::row_end

◆ row_start

int tesseract::GeometricClassifierState::row_start

◆ rows

GenericVector<RowScratchRegisters>* tesseract::GeometricClassifierState::rows

◆ tolerance

int tesseract::GeometricClassifierState::tolerance

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