tesseract  4.1.1
picofeat.h File Reference
#include "ocrfeatures.h"
#include "params.h"

Go to the source code of this file.

Macros

#define MAX_PICO_FEATURES   (1000)
 
#define GetPicoFeatureLength()   (PicoFeatureLength)
 

Enumerations

enum  IntParams { IntX, IntY, IntDir }
 
enum  GeoParams { GeoBottom, GeoTop, GeoWidth, GeoCount }
 
enum  PICO_FEAT_PARAM_NAME { PicoFeatY, PicoFeatDir, PicoFeatX }
 

Variables

double classify_pico_feature_length = 0.05
 
TESS_API float PicoFeatureLength
 

Macro Definition Documentation

◆ GetPicoFeatureLength

#define GetPicoFeatureLength ( )    (PicoFeatureLength)

Public Function Prototypes

Definition at line 58 of file picofeat.h.

◆ MAX_PICO_FEATURES

#define MAX_PICO_FEATURES   (1000)

Definition at line 47 of file picofeat.h.

Enumeration Type Documentation

◆ GeoParams

enum GeoParams
Enumerator
GeoBottom 
GeoTop 
GeoWidth 
GeoCount 

Definition at line 36 of file picofeat.h.

36  {
37  GeoBottom, // Bounding box bottom in baseline space (0-255).
38  GeoTop, // Bounding box top in baseline space (0-255).
39  GeoWidth, // Bounding box width in baseline space (0-255).
40 
41  GeoCount // Number of geo features.
42 };

◆ IntParams

enum IntParams

Include Files and Type Defines

Enumerator
IntX 
IntY 
IntDir 

Definition at line 29 of file picofeat.h.

29  {
30  IntX, // x-position (0-255).
31  IntY, // y-position (0-255).
32  IntDir // Direction (0-255, circular).
33 };

◆ PICO_FEAT_PARAM_NAME

Enumerator
PicoFeatY 
PicoFeatDir 
PicoFeatX 

Definition at line 44 of file picofeat.h.

Variable Documentation

◆ classify_pico_feature_length

double classify_pico_feature_length = 0.05

"Pico Feature Length"

Definition at line 37 of file picofeat.cpp.

◆ PicoFeatureLength

TESS_API float PicoFeatureLength

Global Data Definitions and Declarations

GeoBottom
@ GeoBottom
Definition: picofeat.h:37
GeoTop
@ GeoTop
Definition: picofeat.h:38
GeoCount
@ GeoCount
Definition: picofeat.h:41
IntY
@ IntY
Definition: picofeat.h:47
PicoFeatY
@ PicoFeatY
Definition: picofeat.h:44
PICO_FEAT_PARAM_NAME
PICO_FEAT_PARAM_NAME
Definition: picofeat.h:44
GeoWidth
@ GeoWidth
Definition: picofeat.h:39
PicoFeatDir
@ PicoFeatDir
Definition: picofeat.h:44
PicoFeatX
@ PicoFeatX
Definition: picofeat.h:44
IntX
@ IntX
Definition: picofeat.h:46
IntDir
@ IntDir
Definition: picofeat.h:48