#include <adaptive.h>
Definition at line 67 of file adaptive.h.
◆ ADAPT_TEMPLATES_STRUCT() [1/2]
tesseract::ADAPT_TEMPLATES_STRUCT::ADAPT_TEMPLATES_STRUCT |
( |
| ) |
|
|
default |
◆ ADAPT_TEMPLATES_STRUCT() [2/2]
tesseract::ADAPT_TEMPLATES_STRUCT::ADAPT_TEMPLATES_STRUCT |
( |
UNICHARSET & |
unicharset | ) |
|
Constructor for adapted templates. Add an empty class for each char in unicharset to the newly created templates.
Definition at line 96 of file adaptive.cpp.
96 {
100
101
104 if (i < unicharset.size()) {
106 }
107 }
108}
void AddAdaptedClass(ADAPT_TEMPLATES_STRUCT *Templates, ADAPT_CLASS_STRUCT *Class, CLASS_ID ClassId)
ADAPT_CLASS_STRUCT * Class[MAX_NUM_CLASSES]
INT_TEMPLATES_STRUCT * Templates
◆ ~ADAPT_TEMPLATES_STRUCT()
tesseract::ADAPT_TEMPLATES_STRUCT::~ADAPT_TEMPLATES_STRUCT |
( |
| ) |
|
Definition at line 110 of file adaptive.cpp.
110 {
111 for (
unsigned i = 0; i < (
Templates)->NumClasses; i++) {
113 }
115}
◆ Class
◆ NumNonEmptyClasses
int tesseract::ADAPT_TEMPLATES_STRUCT::NumNonEmptyClasses |
◆ NumPermClasses
uint8_t tesseract::ADAPT_TEMPLATES_STRUCT::NumPermClasses |
◆ Templates
The documentation for this class was generated from the following files: