tesseract  5.0.0-alpha-619-ge9db
normmatch.cpp File Reference
#include "normmatch.h"
#include <cstdio>
#include <cmath>
#include <sstream>
#include "classify.h"
#include "clusttool.h"
#include "emalloc.h"
#include <tesseract/helpers.h>
#include "normfeat.h"
#include "unicharset.h"
#include "params.h"

Go to the source code of this file.

Classes

struct  NORM_PROTOS
 

Namespaces

 tesseract
 

NormEvidenceOf

Return the new type of evidence number corresponding to this normalization adjustment. The equation that represents the transform is: 1 / (1 + (NormAdj / midpoint) ^ curl)

double classify_norm_adj_midpoint = 32.0
 
double classify_norm_adj_curl = 2.0
 
const double kWidthErrorWeighting = 0.125
 

Variable Documentation

◆ classify_norm_adj_curl

double classify_norm_adj_curl = 2.0

"Norm adjust curl ..."

Definition at line 71 of file normmatch.cpp.

◆ classify_norm_adj_midpoint

double classify_norm_adj_midpoint = 32.0

control knobs used to control the normalization adjustment process "Norm adjust midpoint ..."

Definition at line 70 of file normmatch.cpp.

◆ kWidthErrorWeighting

const double kWidthErrorWeighting = 0.125

Weight of width variance against height and vertical position.

Definition at line 73 of file normmatch.cpp.