tesseract v5.3.3.20231005
featdefs.h File Reference
#include "ocrfeatures.h"
#include <array>
#include <string>

Go to the source code of this file.

Classes

struct  tesseract::FEATURE_DEFS_STRUCT
 
struct  tesseract::CHAR_DESC_STRUCT
 

Namespaces

namespace  tesseract
 

Macros

#define NUM_FEATURE_TYPES   4
 

Typedefs

using tesseract::FEATURE_DEFS = FEATURE_DEFS_STRUCT *
 

Functions

void tesseract::InitFeatureDefs (FEATURE_DEFS_STRUCT *featuredefs)
 
bool tesseract::ValidCharDescription (const FEATURE_DEFS_STRUCT &FeatureDefs, CHAR_DESC_STRUCT *CharDesc)
 
void tesseract::WriteCharDescription (const FEATURE_DEFS_STRUCT &FeatureDefs, CHAR_DESC_STRUCT *CharDesc, std::string &str)
 
CHAR_DESC_STRUCT * tesseract::ReadCharDescription (const FEATURE_DEFS_STRUCT &FeatureDefs, FILE *File)
 
uint32_t tesseract::ShortNameToFeatureType (const FEATURE_DEFS_STRUCT &FeatureDefs, const char *ShortName)
 

Variables

const FEATURE_DESC_STRUCT tesseract::MicroFeatureDesc
 
TESS_API const FEATURE_DESC_STRUCT tesseract::PicoFeatDesc
 
const FEATURE_DESC_STRUCT tesseract::CharNormDesc
 
const FEATURE_DESC_STRUCT tesseract::OutlineFeatDesc
 
const FEATURE_DESC_STRUCT tesseract::IntFeatDesc
 
const FEATURE_DESC_STRUCT tesseract::GeoFeatDesc
 

Macro Definition Documentation

◆ NUM_FEATURE_TYPES

#define NUM_FEATURE_TYPES   4

Definition at line 29 of file featdefs.h.