#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.
◆ _USE_MATH_DEFINES
#define _USE_MATH_DEFINES |
◆ kFitHalfrangeFactor
const double kFitHalfrangeFactor = 6.0 / 64 |
◆ kMaxBaselineError
const double kMaxBaselineError = 3.0 / 64 |
◆ kMaxBlobSizeMultiple
const double kMaxBlobSizeMultiple = 1.3 |
◆ kMaxDisplacementsModes
const int kMaxDisplacementsModes = 3 |
◆ kMaxSkewDeviation
const double kMaxSkewDeviation = 1.0 / 64 |
◆ kMinFittingLinespacings
const double kMinFittingLinespacings = 0.25 |
◆ kNumSkipPoints
const int kNumSkipPoints = 3 |
◆ kOffsetQuantizationFactor
const double kOffsetQuantizationFactor = 3.0 / 64 |