tesseract  5.0.0-alpha-619-ge9db
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 <tesseract/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
 

Macros

#define _USE_MATH_DEFINES
 

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
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 19 of file baselinedetect.cpp.

Variable Documentation

◆ kFitHalfrangeFactor

const double kFitHalfrangeFactor = 6.0 / 64

Definition at line 50 of file baselinedetect.cpp.

◆ kMaxBaselineError

const double kMaxBaselineError = 3.0 / 64

Definition at line 52 of file baselinedetect.cpp.

◆ kMaxBlobSizeMultiple

const double kMaxBlobSizeMultiple = 1.3

Definition at line 55 of file baselinedetect.cpp.

◆ kMaxDisplacementsModes

const int kMaxDisplacementsModes = 3

Definition at line 42 of file baselinedetect.cpp.

◆ kMaxSkewDeviation

const double kMaxSkewDeviation = 1.0 / 64

Definition at line 46 of file baselinedetect.cpp.

◆ kMinFittingLinespacings

const double kMinFittingLinespacings = 0.25

Definition at line 58 of file baselinedetect.cpp.

◆ kNumSkipPoints

const int kNumSkipPoints = 3

Definition at line 44 of file baselinedetect.cpp.

◆ kOffsetQuantizationFactor

const double kOffsetQuantizationFactor = 3.0 / 64

Definition at line 48 of file baselinedetect.cpp.