tesseract  4.0.0-1-g2a2b
applybox.cpp File Reference
#include <cctype>
#include <cerrno>
#include <cstring>
#include "allheaders.h"
#include "boxread.h"
#include "chopper.h"
#include "pageres.h"
#include "unichar.h"
#include "unicharset.h"
#include "tesseractclass.h"
#include "genericvector.h"

Go to the source code of this file.

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 35 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 38 of file applybox.cpp.