#include <textord.h>
Definition at line 42 of file textord.h.
◆ WordWithBox() [1/2]
tesseract::WordWithBox::WordWithBox |
( |
| ) |
|
|
inline |
◆ WordWithBox() [2/2]
tesseract::WordWithBox::WordWithBox |
( |
WERD * |
word | ) |
|
|
inlineexplicit |
Definition at line 45 of file textord.h.
46 int height = bounding_box_.
height();
47 bounding_box_.
pad(height, height);
48 }
TDimension height() const
void pad(int xpad, int ypad)
TBOX bounding_box() const
const WERD * word() const
◆ bounding_box()
const TBOX & tesseract::WordWithBox::bounding_box |
( |
| ) |
const |
|
inline |
Definition at line 50 of file textord.h.
50 {
51 return bounding_box_;
52 }
◆ RejBlobs()
C_BLOB_LIST * tesseract::WordWithBox::RejBlobs |
( |
| ) |
const |
|
inline |
Definition at line 57 of file textord.h.
57 {
59 }
C_BLOB_LIST * rej_cblob_list()
◆ true_bounding_box()
TBOX tesseract::WordWithBox::true_bounding_box |
( |
| ) |
const |
|
inline |
Definition at line 54 of file textord.h.
54 {
56 }
TBOX true_bounding_box() const
◆ word()
const WERD * tesseract::WordWithBox::word |
( |
| ) |
const |
|
inline |
Definition at line 60 of file textord.h.
60 {
61 return word_;
62 }
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/textord/textord.h