tesseract  5.0.0-alpha-619-ge9db
colpartitiongrid.cpp File Reference
#include "colpartitiongrid.h"
#include "colpartitionset.h"
#include "imagefind.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

 tesseract
 

Enumerations

enum  tesseract::NeighbourPartitionType {
  tesseract::NPT_HTEXT, tesseract::NPT_VTEXT, tesseract::NPT_WEAK_HTEXT, tesseract::NPT_WEAK_VTEXT,
  tesseract::NPT_IMAGE, tesseract::NPT_COUNT
}
 

Variables

const int tesseract::kMaxPadFactor = 6
 
const int tesseract::kMaxNeighbourDistFactor = 4
 
const int tesseract::kMaxCaptionLines = 7
 
const double tesseract::kMinCaptionGapRatio = 2.0
 
const double tesseract::kMinCaptionGapHeightRatio = 0.5
 
const double tesseract::kMarginOverlapFraction = 0.25
 
const double tesseract::kBigPartSizeRatio = 1.75
 
const double tesseract::kTinyEnoughTextlineOverlapFraction = 0.25
 
const double tesseract::kMaxPartitionSpacing = 1.75
 
const int tesseract::kSmoothDecisionMargin = 4