tesseract v5.3.3.20231005
normmatch.cpp File Reference
#include "normmatch.h"
#include "classify.h"
#include "clusttool.h"
#include "helpers.h"
#include "normfeat.h"
#include "params.h"
#include "unicharset.h"
#include <cmath>
#include <cstdio>
#include <sstream>

Go to the source code of this file.

Classes

struct  tesseract::NORM_PROTOS
 

Namespaces

namespace  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 tesseract::classify_norm_adj_midpoint = 32.0
 
double tesseract::classify_norm_adj_curl = 2.0
 
const double tesseract::kWidthErrorWeighting = 0.125