#include <adaptive.h>
Definition at line 32 of file adaptive.h.
◆ TEMP_CONFIG_STRUCT() [1/2]
tesseract::TEMP_CONFIG_STRUCT::TEMP_CONFIG_STRUCT |
( |
| ) |
|
|
default |
◆ TEMP_CONFIG_STRUCT() [2/2]
tesseract::TEMP_CONFIG_STRUCT::TEMP_CONFIG_STRUCT |
( |
int |
maxProtoId, |
|
|
int |
fontinfoId |
|
) |
| |
This constructor allocates and returns a new temporary config.
- Parameters
-
MaxProtoId | max id of any proto in new config |
FontinfoId | font information from pre-trained templates |
Definition at line 127 of file adaptive.cpp.
127 {
128 int NumProtos = maxProtoId + 1;
129
130 Protos = NewBitVector(NumProtos);
131
137}
◆ ~TEMP_CONFIG_STRUCT()
tesseract::TEMP_CONFIG_STRUCT::~TEMP_CONFIG_STRUCT |
( |
| ) |
|
◆ FontinfoId
int tesseract::TEMP_CONFIG_STRUCT::FontinfoId |
◆ MaxProtoId
PROTO_ID tesseract::TEMP_CONFIG_STRUCT::MaxProtoId |
◆ NumTimesSeen
uint8_t tesseract::TEMP_CONFIG_STRUCT::NumTimesSeen |
◆ Protos
◆ ProtoVectorSize
uint8_t tesseract::TEMP_CONFIG_STRUCT::ProtoVectorSize |
The documentation for this struct was generated from the following files:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/adaptive.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/adaptive.cpp