tesseract  5.0.0-alpha-619-ge9db
equationdetect.cpp File Reference
#include <algorithm>
#include <cfloat>
#include <limits>
#include <memory>
#include "equationdetect.h"
#include "bbgrid.h"
#include "classify.h"
#include "colpartition.h"
#include "colpartitiongrid.h"
#include "colpartitionset.h"
#include <tesseract/helpers.h>
#include "ratngs.h"
#include "tesseractclass.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Functions

bool tesseract::IsTextOrEquationType (PolyBlockType type)
 
bool tesseract::IsLeftIndented (const EquationDetect::IndentType type)
 
bool tesseract::IsRightIndented (const EquationDetect::IndentType type)
 

Variables

const float tesseract::kMathDigitDensityTh1 = 0.25
 
const float tesseract::kMathDigitDensityTh2 = 0.1
 
const float tesseract::kMathItalicDensityTh = 0.5
 
const float tesseract::kUnclearDensityTh = 0.25
 
const int tesseract::kSeedBlobsCountTh = 10
 
const int tesseract::kLeftIndentAlignmentCountTh = 1