#include <imagedata.h>
Definition at line 71 of file imagedata.h.
Definition at line 85 of file imagedata.cpp.
88 for (
int i = 0; i < word_features.
size(); ++i) {
90 f.x = word_features[i].x();
91 f.y = word_features[i].y();
92 f.dir = word_features[i].dir();
int tesseract::FloatWordFeature::SortByXBucket |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
|
static |
Definition at line 100 of file imagedata.cpp.
101 const FloatWordFeature* f1 =
reinterpret_cast<const FloatWordFeature*
>(v1);
102 const FloatWordFeature* f2 =
reinterpret_cast<const FloatWordFeature*
>(v2);
103 int x_diff = f1->x_bucket - f2->x_bucket;
104 if (x_diff == 0)
return f1->y - f2->y;
float tesseract::FloatWordFeature::dir |
float tesseract::FloatWordFeature::x |
int tesseract::FloatWordFeature::x_bucket |
float tesseract::FloatWordFeature::y |
The documentation for this struct was generated from the following files: