#include <shapeclassifier.h>
List of all members.
Detailed Description
Definition at line 36 of file shapeclassifier.h.
Constructor & Destructor Documentation
tesseract::ShapeRating::ShapeRating |
( |
| ) |
|
|
inline |
tesseract::ShapeRating::ShapeRating |
( |
int |
s, |
|
|
float |
r |
|
) |
| |
|
inline |
Member Function Documentation
static int tesseract::ShapeRating::SortDescendingRating |
( |
const void * |
t1, |
|
|
const void * |
t2 |
|
) |
| |
|
inlinestatic |
Definition at line 42 of file shapeclassifier.h.
{
if (a->rating > b->rating) {
return -1;
} else if (a->rating < b->rating) {
return 1;
} else {
return a->shape_id - b->shape_id;
}
}
Member Data Documentation
float tesseract::ShapeRating::font |
float tesseract::ShapeRating::rating |
float tesseract::ShapeRating::raw |
int tesseract::ShapeRating::shape_id |
The documentation for this struct was generated from the following file: