tesseract-doxygen/wordrec/metrics.cpp File Reference

#include "metrics.h"
#include "bestfirst.h"
#include "associate.h"
#include "tally.h"
#include <stdio.h>
#include "plotseg.h"
#include "globals.h"
#include "wordclass.h"
#include "intmatcher.h"
#include "freelist.h"
#include "callcpp.h"
#include "ndminx.h"
#include "wordrec.h"

Namespaces

namespace  tesseract

Defines

#define CERTAINTY_BUCKET_SIZE   -0.5
#define CERTAINTY_BUCKETS   40

Functions

void init_metrics ()
void end_metrics ()
void record_certainty (float certainty, int pass)
void record_search_status (int num_states, int before_best, float closeness)
void record_priorities (SEARCH_RECORD *the_search, FLOAT32 priority_1, FLOAT32 priority_2)
void record_samples (FLOAT32 match_pri, FLOAT32 width_pri)
void reset_width_tally ()
void save_best_state (CHUNKS_RECORD *chunks_record)
void start_recording ()
void stop_recording ()

Variables

int words_chopped1
int words_chopped2
int chops_attempted1
int chops_performed1
int chops_attempted2
int chops_performed2
int character_count
int word_count
int chars_classified
MEASUREMENT num_pieces
MEASUREMENT width_measure
MEASUREMENT width_priority_range
MEASUREMENT match_priority_range
TALLY states_before_best
TALLY best_certainties [2]
TALLY character_widths
FILE * priority_file_1
FILE * priority_file_2
FILE * priority_file_3
STATEknown_best_state = NULL

Define Documentation

#define CERTAINTY_BUCKET_SIZE   -0.5
#define CERTAINTY_BUCKETS   40

Function Documentation

void end_metrics (  ) 
void init_metrics (  ) 
void record_certainty ( float  certainty,
int  pass 
)
void record_priorities ( SEARCH_RECORD the_search,
FLOAT32  priority_1,
FLOAT32  priority_2 
)
void record_samples ( FLOAT32  match_pri,
FLOAT32  width_pri 
)
void record_search_status ( int  num_states,
int  before_best,
float  closeness 
)
void reset_width_tally (  ) 
void save_best_state ( CHUNKS_RECORD chunks_record  ) 
void start_recording (  ) 
void stop_recording (  ) 

Variable Documentation

Generated on Sun Jul 18 17:10:52 2010 for Tesseract by  doxygen 1.6.3