#include <imagedata.h>
Definition at line 56 of file imagedata.h.
◆ WordFeature() [1/2]
tesseract::WordFeature::WordFeature |
( |
| ) |
|
◆ WordFeature() [2/2]
tesseract::WordFeature::WordFeature |
( |
const FCOORD & |
fcoord, |
|
|
uint8_t |
dir |
|
) |
| |
◆ ComputeSize()
Definition at line 54 of file imagedata.cpp.
58 for (
int f = 0; f < features.
size(); ++f) {
59 if (features[f].x_ > *max_x) *max_x = features[f].x_;
60 if (features[f].y_ > *max_y) *max_y = features[f].y_;
◆ DeSerialize()
bool tesseract::WordFeature::DeSerialize |
( |
bool |
swap, |
|
|
FILE * |
fp |
|
) |
| |
◆ dir()
int tesseract::WordFeature::dir |
( |
| ) |
const |
|
inline |
◆ Draw()
Definition at line 65 of file imagedata.cpp.
67 #ifndef GRAPHICS_DISABLED
68 for (
int f = 0; f < features.
size(); ++f) {
69 FCOORD pos(features[f].x_, features[f].y_);
71 dir.from_direction(features[f].dir_);
◆ Serialize()
bool tesseract::WordFeature::Serialize |
( |
FILE * |
fp | ) |
const |
◆ x()
int tesseract::WordFeature::x |
( |
| ) |
const |
|
inline |
◆ y()
int tesseract::WordFeature::y |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: