tesseract 3.04.01

classify/picofeat.h File Reference

#include "ocrfeatures.h"
#include "params.h"

Go to the source code of this file.

Defines

#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
FLOAT32 PicoFeatureLength

Define Documentation

#define GetPicoFeatureLength ( )    (PicoFeatureLength)

---------------------------------------------------------------------------- Public Function Prototypes ----------------------------------------------------------------------------

Definition at line 59 of file picofeat.h.

#define MAX_PICO_FEATURES   (1000)

Definition at line 47 of file picofeat.h.


Enumeration Type Documentation

enum GeoParams
Enumerator:
GeoBottom 
GeoTop 
GeoWidth 
GeoCount 

Definition at line 35 of file picofeat.h.

               {
  GeoBottom,   // Bounding box bottom in baseline space (0-255).
  GeoTop,      // Bounding box top in baseline space (0-255).
  GeoWidth,    // Bounding box width in baseline space (0-255).

  GeoCount     // Number of geo features.
};
enum IntParams

---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------

Enumerator:
IntX 
IntY 
IntDir 

Definition at line 28 of file picofeat.h.

               {
  IntX,   // x-position (0-255).
  IntY,   // y-position (0-255).
  IntDir  // Direction (0-255, circular).
};
Enumerator:
PicoFeatY 
PicoFeatDir 
PicoFeatX 

Definition at line 43 of file picofeat.h.


Variable Documentation

"Pico Feature Length"

Definition at line 39 of file picofeat.cpp.

---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines