|
tesseract
4.00.00dev
|
#include <ltrresultiterator.h>
Public Member Functions | |
| LTRResultIterator (PAGE_RES *page_res, Tesseract *tesseract, int scale, int scaled_yres, int rect_left, int rect_top, int rect_width, int rect_height) | |
| virtual | ~LTRResultIterator () |
| char * | GetUTF8Text (PageIteratorLevel level) const |
| void | SetLineSeparator (const char *new_line) |
| void | SetParagraphSeparator (const char *new_para) |
| float | Confidence (PageIteratorLevel level) const |
| void | RowAttributes (float *row_height, float *descenders, float *ascenders) const |
| const char * | WordFontAttributes (bool *is_bold, bool *is_italic, bool *is_underlined, bool *is_monospace, bool *is_serif, bool *is_smallcaps, int *pointsize, int *font_id) const |
| const char * | WordRecognitionLanguage () const |
| StrongScriptDirection | WordDirection () const |
| bool | WordIsFromDictionary () const |
| int | BlanksBeforeWord () const |
| bool | WordIsNumeric () const |
| bool | HasBlamerInfo () const |
| const void * | GetParamsTrainingBundle () const |
| const char * | GetBlamerDebug () const |
| const char * | GetBlamerMisadaptionDebug () const |
| bool | HasTruthString () const |
| bool | EquivalentToTruth (const char *str) const |
| char * | WordTruthUTF8Text () const |
| char * | WordNormedUTF8Text () const |
| const char * | WordLattice (int *lattice_size) const |
| bool | SymbolIsSuperscript () const |
| bool | SymbolIsSubscript () const |
| bool | SymbolIsDropcap () const |
Public Member Functions inherited from tesseract::PageIterator | |
| PageIterator (PAGE_RES *page_res, Tesseract *tesseract, int scale, int scaled_yres, int rect_left, int rect_top, int rect_width, int rect_height) | |
| virtual | ~PageIterator () |
| PageIterator (const PageIterator &src) | |
| const PageIterator & | operator= (const PageIterator &src) |
| bool | PositionedAtSameWord (const PAGE_RES_IT *other) const |
| virtual void | Begin () |
| virtual void | RestartParagraph () |
| bool | IsWithinFirstTextlineOfParagraph () const |
| virtual void | RestartRow () |
| virtual bool | Next (PageIteratorLevel level) |
| virtual bool | IsAtBeginningOf (PageIteratorLevel level) const |
| virtual bool | IsAtFinalElement (PageIteratorLevel level, PageIteratorLevel element) const |
| int | Cmp (const PageIterator &other) const |
| void | SetBoundingBoxComponents (bool include_upper_dots, bool include_lower_dots) |
| bool | BoundingBox (PageIteratorLevel level, int *left, int *top, int *right, int *bottom) const |
| bool | BoundingBox (PageIteratorLevel level, const int padding, int *left, int *top, int *right, int *bottom) const |
| bool | BoundingBoxInternal (PageIteratorLevel level, int *left, int *top, int *right, int *bottom) const |
| bool | Empty (PageIteratorLevel level) const |
| PolyBlockType | BlockType () const |
| Pta * | BlockPolygon () const |
| Pix * | GetBinaryImage (PageIteratorLevel level) const |
| Pix * | GetImage (PageIteratorLevel level, int padding, Pix *original_img, int *left, int *top) const |
| bool | Baseline (PageIteratorLevel level, int *x1, int *y1, int *x2, int *y2) const |
| void | Orientation (tesseract::Orientation *orientation, tesseract::WritingDirection *writing_direction, tesseract::TextlineOrder *textline_order, float *deskew_angle) const |
| void | ParagraphInfo (tesseract::ParagraphJustification *justification, bool *is_list_item, bool *is_crown, int *first_line_indent) const |
| bool | SetWordBlamerBundle (BlamerBundle *blamer_bundle) |
Protected Attributes | |
| const char * | line_separator_ |
| const char * | paragraph_separator_ |
Protected Attributes inherited from tesseract::PageIterator | |
| PAGE_RES * | page_res_ |
| Tesseract * | tesseract_ |
| PAGE_RES_IT * | it_ |
| WERD * | word_ |
| int | word_length_ |
| int | blob_index_ |
| C_BLOB_IT * | cblob_it_ |
| bool | include_upper_dots_ |
| bool | include_lower_dots_ |
| int | scale_ |
| int | scaled_yres_ |
| int | rect_left_ |
| int | rect_top_ |
| int | rect_width_ |
| int | rect_height_ |
Friends | |
| class | ChoiceIterator |
Additional Inherited Members | |
Protected Member Functions inherited from tesseract::PageIterator | |
| TESS_LOCAL void | BeginWord (int offset) |
Definition at line 46 of file ltrresultiterator.h.
| tesseract::LTRResultIterator::LTRResultIterator | ( | PAGE_RES * | page_res, |
| Tesseract * | tesseract, | ||
| int | scale, | ||
| int | scaled_yres, | ||
| int | rect_left, | ||
| int | rect_top, | ||
| int | rect_width, | ||
| int | rect_height | ||
| ) |
Definition at line 30 of file ltrresultiterator.cpp.
|
virtual |
Definition at line 40 of file ltrresultiterator.cpp.
| int tesseract::LTRResultIterator::BlanksBeforeWord | ( | ) | const |
Definition at line 224 of file ltrresultiterator.cpp.
| float tesseract::LTRResultIterator::Confidence | ( | PageIteratorLevel | level | ) | const |
Definition at line 94 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::EquivalentToTruth | ( | const char * | str | ) | const |
Definition at line 273 of file ltrresultiterator.cpp.
| const char * tesseract::LTRResultIterator::GetBlamerDebug | ( | ) | const |
Definition at line 251 of file ltrresultiterator.cpp.
| const char * tesseract::LTRResultIterator::GetBlamerMisadaptionDebug | ( | ) | const |
Definition at line 257 of file ltrresultiterator.cpp.
| const void * tesseract::LTRResultIterator::GetParamsTrainingBundle | ( | ) | const |
Definition at line 244 of file ltrresultiterator.cpp.
| char * tesseract::LTRResultIterator::GetUTF8Text | ( | PageIteratorLevel | level | ) | const |
Definition at line 45 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::HasBlamerInfo | ( | ) | const |
Definition at line 237 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::HasTruthString | ( | ) | const |
Definition at line 262 of file ltrresultiterator.cpp.
| void tesseract::LTRResultIterator::RowAttributes | ( | float * | row_height, |
| float * | descenders, | ||
| float * | ascenders | ||
| ) | const |
Definition at line 148 of file ltrresultiterator.cpp.
| void tesseract::LTRResultIterator::SetLineSeparator | ( | const char * | new_line | ) |
Definition at line 83 of file ltrresultiterator.cpp.
| void tesseract::LTRResultIterator::SetParagraphSeparator | ( | const char * | new_para | ) |
Definition at line 88 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::SymbolIsDropcap | ( | ) | const |
Definition at line 339 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::SymbolIsSubscript | ( | ) | const |
Definition at line 330 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::SymbolIsSuperscript | ( | ) | const |
Definition at line 320 of file ltrresultiterator.cpp.
| StrongScriptDirection tesseract::LTRResultIterator::WordDirection | ( | ) | const |
Definition at line 202 of file ltrresultiterator.cpp.
| const char * tesseract::LTRResultIterator::WordFontAttributes | ( | bool * | is_bold, |
| bool * | is_italic, | ||
| bool * | is_underlined, | ||
| bool * | is_monospace, | ||
| bool * | is_serif, | ||
| bool * | is_smallcaps, | ||
| int * | pointsize, | ||
| int * | font_id | ||
| ) | const |
Definition at line 164 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::WordIsFromDictionary | ( | ) | const |
Definition at line 216 of file ltrresultiterator.cpp.
| bool tesseract::LTRResultIterator::WordIsNumeric | ( | ) | const |
Definition at line 230 of file ltrresultiterator.cpp.
| const char * tesseract::LTRResultIterator::WordLattice | ( | int * | lattice_size | ) | const |
Definition at line 310 of file ltrresultiterator.cpp.
| char * tesseract::LTRResultIterator::WordNormedUTF8Text | ( | ) | const |
Definition at line 293 of file ltrresultiterator.cpp.
| const char * tesseract::LTRResultIterator::WordRecognitionLanguage | ( | ) | const |
Definition at line 196 of file ltrresultiterator.cpp.
| char * tesseract::LTRResultIterator::WordTruthUTF8Text | ( | ) | const |
Definition at line 282 of file ltrresultiterator.cpp.
|
friend |
Definition at line 47 of file ltrresultiterator.h.
|
protected |
Definition at line 183 of file ltrresultiterator.h.
|
protected |
Definition at line 184 of file ltrresultiterator.h.