00001 00019 #ifndef PICOFEAT_H 00020 #define PICOFEAT_H 00021 00022 /* ================= 00023 Include Files and Type Defines 00024 ==================== */ 00025 #include "ocrfeatures.h" 00026 #include "tessclas.h" 00027 #include "fxdefs.h" 00028 00033 typedef enum 00034 { 00035 PicoFeatY, 00036 PicoFeatDir, 00037 PicoFeatX 00038 } PICO_FEAT_PARAM_NAME; 00039 00040 #define MAX_PICO_FEATURES (1000) 00041 00042 /* ================= 00043 Public Function Prototypes 00044 ==================== */ 00045 #define GetPicoFeatureLength() (PicoFeatureLength) 00046 00047 FEATURE_SET ExtractPicoFeatures(TBLOB *Blob, LINE_STATS *LineStats); 00048 00049 void InitPicoFXVars(); 00050 00051 /* 00052 #if defined(__STDC__) || defined(__cplusplus) 00053 # define _ARGS(s) s 00054 #else 00055 # define _ARGS(s) () 00056 #endif*/ 00057 00058 /* picofeat.c 00059 FEATURE_SET ExtractPicoFeatures 00060 _ARGS((BLOB *Blob, 00061 LINE_STATS *LineStats)); 00062 00063 void InitPicoFXVars 00064 _ARGS((void)); 00065 00066 #undef _ARGS 00067 */ 00068 /* ================= 00069 Global Data Definitions and Declarations 00070 ==================== */ 00071 extern FEATURE_DESC_STRUCT PicoFeatDesc; 00072 extern FLOAT32 PicoFeatureLength; 00073 #endif