tesseract  5.0.0-alpha-619-ge9db
pageres.cpp File Reference
#include "pageres.h"
#include <cassert>
#include <cstdint>
#include <cstring>
#include "blamer.h"
#include "blobs.h"
#include "boxword.h"
#include "errcode.h"
#include "ocrblock.h"
#include "ocrrow.h"
#include "pdblock.h"
#include "polyblk.h"
#include <tesseract/publictypes.h>
#include "seam.h"
#include "stepblob.h"
#include "tprintf.h"

Go to the source code of this file.

Functions

 CLISTIZE (BLOCK_RES) ELISTIZE(ROW_RES) ELISTIZE(WERD_RES) static const double kStopperAmbiguityThresholdGain
 

Variables

const int kWordrecMaxNumJoinChunks = 4
 
const double kMaxWordSizeRatio = 1.25
 
const double kMaxLineSizeRatio = 1.25
 
const double kMaxWordGapRatio = 2.0
 

Function Documentation

◆ CLISTIZE()

CLISTIZE ( BLOCK_RES  ) const

Variable Documentation

◆ kMaxLineSizeRatio

const double kMaxLineSizeRatio = 1.25

Definition at line 57 of file pageres.cpp.

◆ kMaxWordGapRatio

const double kMaxWordGapRatio = 2.0

Definition at line 59 of file pageres.cpp.

◆ kMaxWordSizeRatio

const double kMaxWordSizeRatio = 1.25

Definition at line 55 of file pageres.cpp.

◆ kWordrecMaxNumJoinChunks

const int kWordrecMaxNumJoinChunks = 4

Definition at line 52 of file pageres.cpp.