tesseract v5.3.3.20231005
tesseract::FEATURE_STRUCT Struct Reference

#include <ocrfeatures.h>

Public Member Functions

 FEATURE_STRUCT (const FEATURE_DESC_STRUCT *FeatureDesc)
 
 ~FEATURE_STRUCT ()
 

Public Attributes

const FEATURE_DESC_STRUCTType
 
std::vector< float > Params
 

Detailed Description

Definition at line 58 of file ocrfeatures.h.

Constructor & Destructor Documentation

◆ FEATURE_STRUCT()

tesseract::FEATURE_STRUCT::FEATURE_STRUCT ( const FEATURE_DESC_STRUCT FeatureDesc)
inline

Constructor for a new feature of the specified type.

Parameters
FeatureDescdescription of feature to be created.

Definition at line 61 of file ocrfeatures.h.

61 : Type(FeatureDesc), Params(FeatureDesc->NumParams) {
62 }
std::vector< float > Params
Definition: ocrfeatures.h:66
const FEATURE_DESC_STRUCT * Type
Definition: ocrfeatures.h:65

◆ ~FEATURE_STRUCT()

tesseract::FEATURE_STRUCT::~FEATURE_STRUCT ( )
inline

Definition at line 63 of file ocrfeatures.h.

63 {
64 }

Member Data Documentation

◆ Params

std::vector<float> tesseract::FEATURE_STRUCT::Params

Definition at line 66 of file ocrfeatures.h.

◆ Type

const FEATURE_DESC_STRUCT* tesseract::FEATURE_STRUCT::Type

Definition at line 65 of file ocrfeatures.h.


The documentation for this struct was generated from the following file: