tesseract  4.0.0-1-g2a2b
baselinedetect.cpp File Reference
#include "baselinedetect.h"
#include <algorithm>
#include <cfloat>
#include <cmath>
#include "allheaders.h"
#include "blobbox.h"
#include "detlinefit.h"
#include "drawtord.h"
#include "helpers.h"
#include "linlsq.h"
#include "makerow.h"
#include "textord.h"
#include "tprintf.h"
#include "underlin.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Variables

const int kMaxDisplacementsModes = 3
 
const int kNumSkipPoints = 3
 
const double kMaxSkewDeviation = 1.0 / 64
 
const double kOffsetQuantizationFactor = 3.0 / 64
 
const double kFitHalfrangeFactor = 6.0 / 64
 
const double kMaxBaselineError = 3.0 / 64
 
const double kMaxBlobSizeMultiple = 1.3
 
const double kMinFittingLinespacings = 0.25
 

Variable Documentation

◆ kFitHalfrangeFactor

const double kFitHalfrangeFactor = 6.0 / 64

Definition at line 53 of file baselinedetect.cpp.

◆ kMaxBaselineError

const double kMaxBaselineError = 3.0 / 64

Definition at line 55 of file baselinedetect.cpp.

◆ kMaxBlobSizeMultiple

const double kMaxBlobSizeMultiple = 1.3

Definition at line 58 of file baselinedetect.cpp.

◆ kMaxDisplacementsModes

const int kMaxDisplacementsModes = 3

Definition at line 45 of file baselinedetect.cpp.

◆ kMaxSkewDeviation

const double kMaxSkewDeviation = 1.0 / 64

Definition at line 49 of file baselinedetect.cpp.

◆ kMinFittingLinespacings

const double kMinFittingLinespacings = 0.25

Definition at line 61 of file baselinedetect.cpp.

◆ kNumSkipPoints

const int kNumSkipPoints = 3

Definition at line 47 of file baselinedetect.cpp.

◆ kOffsetQuantizationFactor

const double kOffsetQuantizationFactor = 3.0 / 64

Definition at line 51 of file baselinedetect.cpp.