tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::BaselineDetect Class Reference

#include <baselinedetect.h>

Collaboration diagram for tesseract::BaselineDetect:

Public Member Functions

 BaselineDetect (int debug_level, const FCOORD &page_skew, TO_BLOCK_LIST *blocks)
 
 ~BaselineDetect ()=default
 
void ComputeStraightBaselines (bool use_box_bottoms)
 
void ComputeBaselineSplinesAndXheights (const ICOORD &page_tr, bool enable_splines, bool remove_noise, bool show_final_rows, Textord *textord)
 

Private Attributes

FCOORD page_skew_
 
int debug_level_
 
PointerVector< BaselineBlockblocks_
 

Constructor & Destructor Documentation

◆ BaselineDetect()

tesseract::BaselineDetect::BaselineDetect ( int  debug_level,
const FCOORD page_skew,
TO_BLOCK_LIST *  blocks 
)

◆ ~BaselineDetect()

tesseract::BaselineDetect::~BaselineDetect ( )
default

Member Function Documentation

◆ ComputeBaselineSplinesAndXheights()

void tesseract::BaselineDetect::ComputeBaselineSplinesAndXheights ( const ICOORD page_tr,
bool  enable_splines,
bool  remove_noise,
bool  show_final_rows,
Textord textord 
)

◆ ComputeStraightBaselines()

void tesseract::BaselineDetect::ComputeStraightBaselines ( bool  use_box_bottoms)

Member Data Documentation

◆ blocks_

PointerVector<BaselineBlock> tesseract::BaselineDetect::blocks_
private

◆ debug_level_

int tesseract::BaselineDetect::debug_level_
private

◆ page_skew_

FCOORD tesseract::BaselineDetect::page_skew_
private

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