#include <wordrec.h>
Definition at line 111 of file wordrec.h.
◆ SegSearchPending()
tesseract::SegSearchPending::SegSearchPending |
( |
| ) |
|
|
inline |
Definition at line 113 of file wordrec.h.
114 : classified_row_(-1), revisit_whole_column_(false), column_classified_(false) {}
◆ Clear()
void tesseract::SegSearchPending::Clear |
( |
| ) |
|
|
inline |
Definition at line 135 of file wordrec.h.
135 {
136 classified_row_ = -1;
137 revisit_whole_column_ = false;
138 column_classified_ = false;
139 }
◆ IsRowJustClassified()
bool tesseract::SegSearchPending::IsRowJustClassified |
( |
int |
row | ) |
const |
|
inline |
Definition at line 147 of file wordrec.h.
147 {
148 return row == classified_row_ || column_classified_;
149 }
◆ RevisitWholeColumn()
void tesseract::SegSearchPending::RevisitWholeColumn |
( |
| ) |
|
|
inline |
Definition at line 130 of file wordrec.h.
130 {
131 revisit_whole_column_ = true;
132 }
◆ SetBlobClassified()
void tesseract::SegSearchPending::SetBlobClassified |
( |
int |
row | ) |
|
|
inline |
Definition at line 124 of file wordrec.h.
124 {
125 classified_row_ = row;
126 }
◆ SetColumnClassified()
void tesseract::SegSearchPending::SetColumnClassified |
( |
| ) |
|
|
inline |
Definition at line 118 of file wordrec.h.
118 {
119 column_classified_ = true;
120 }
◆ SingleRow()
int tesseract::SegSearchPending::SingleRow |
( |
| ) |
const |
|
inline |
Definition at line 151 of file wordrec.h.
151 {
152 return revisit_whole_column_ || column_classified_ ? -1 : classified_row_;
153 }
◆ WorkToDo()
bool tesseract::SegSearchPending::WorkToDo |
( |
| ) |
const |
|
inline |
Definition at line 143 of file wordrec.h.
143 {
144 return revisit_whole_column_ || column_classified_ || classified_row_ >= 0;
145 }
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/wordrec/wordrec.h