tesseract  5.0.0-alpha-619-ge9db
applybox.cpp File Reference
#include <cctype>
#include <cerrno>
#include <cstring>
#include "allheaders.h"
#include "boxread.h"
#include "pageres.h"
#include <tesseract/unichar.h>
#include "unicharset.h"
#include "tesseractclass.h"
#include <tesseract/genericvector.h>

Go to the source code of this file.

Namespaces

 tesseract
 

Variables

const int kMaxGroupSize = 4
 
const double kMaxXHeightDeviationFraction = 0.125
 

Variable Documentation

◆ kMaxGroupSize

const int kMaxGroupSize = 4

Max number of blobs to classify together in FindSegmentation.

Definition at line 30 of file applybox.cpp.

◆ kMaxXHeightDeviationFraction

const double kMaxXHeightDeviationFraction = 0.125

Max fraction of median allowed as deviation in xheight before switching to median.

Definition at line 33 of file applybox.cpp.