tesseract v5.3.3.20231005
tesseract::AssociateStats Struct Reference

#include <associate.h>

Public Member Functions

 AssociateStats ()
 
void Clear ()
 
void Print ()
 

Public Attributes

float shape_cost
 
bool bad_shape
 
float full_wh_ratio
 
float full_wh_ratio_total
 
float full_wh_ratio_var
 
bool bad_fixed_pitch_right_gap
 
bool bad_fixed_pitch_wh_ratio
 
int gap_sum
 

Detailed Description

Definition at line 36 of file associate.h.

Constructor & Destructor Documentation

◆ AssociateStats()

tesseract::AssociateStats::AssociateStats ( )
inline

Definition at line 37 of file associate.h.

37 {
38 Clear();
39 }

Member Function Documentation

◆ Clear()

void tesseract::AssociateStats::Clear ( )
inline

Definition at line 41 of file associate.h.

◆ Print()

void tesseract::AssociateStats::Print ( )
inline

Definition at line 52 of file associate.h.

52 {
53 tprintf("AssociateStats: s(%g %d)\n", shape_cost, bad_shape);
54 }
void tprintf(const char *format,...)
Definition: tprintf.cpp:41

Member Data Documentation

◆ bad_fixed_pitch_right_gap

bool tesseract::AssociateStats::bad_fixed_pitch_right_gap

Definition at line 62 of file associate.h.

◆ bad_fixed_pitch_wh_ratio

bool tesseract::AssociateStats::bad_fixed_pitch_wh_ratio

Definition at line 64 of file associate.h.

◆ bad_shape

bool tesseract::AssociateStats::bad_shape

Definition at line 57 of file associate.h.

◆ full_wh_ratio

float tesseract::AssociateStats::full_wh_ratio

Definition at line 58 of file associate.h.

◆ full_wh_ratio_total

float tesseract::AssociateStats::full_wh_ratio_total

Definition at line 59 of file associate.h.

◆ full_wh_ratio_var

float tesseract::AssociateStats::full_wh_ratio_var

Definition at line 61 of file associate.h.

◆ gap_sum

int tesseract::AssociateStats::gap_sum

Definition at line 66 of file associate.h.

◆ shape_cost

float tesseract::AssociateStats::shape_cost

Definition at line 56 of file associate.h.


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