tesseract
5.0.0-alpha-619-ge9db
|
#include <ocrclass.h>
Public Member Functions | |
ETEXT_DESC () | |
character data More... | |
void | set_deadline_msecs (int32_t deadline_msecs) |
bool | deadline_exceeded () const |
Public Attributes | |
int16_t | count {0} |
int16_t | progress {0} |
chars in this buffer(0) More... | |
int8_t | more_to_come {0} |
percent complete increasing (0-100) More... | |
volatile int8_t | ocr_alive {0} |
true if not last More... | |
int8_t | err_code {0} |
ocr sets to 1, HP 0 More... | |
CANCEL_FUNC | cancel {nullptr} |
for errcode use More... | |
PROGRESS_FUNC | progress_callback |
returns true to cancel More... | |
PROGRESS_FUNC2 | progress_callback2 |
called whenever progress increases More... | |
void * | cancel_this {nullptr} |
monitor-aware progress callback More... | |
std::chrono::steady_clock::time_point | end_time |
this or other data for cancel More... | |
EANYCODE_CHAR | text [1] {} |
Definition at line 95 of file ocrclass.h.
|
inline |
|
inline |
Definition at line 129 of file ocrclass.h.
|
inline |
Definition at line 121 of file ocrclass.h.
CANCEL_FUNC ETEXT_DESC::cancel {nullptr} |
for errcode use
Definition at line 105 of file ocrclass.h.
void* ETEXT_DESC::cancel_this {nullptr} |
monitor-aware progress callback
Definition at line 109 of file ocrclass.h.
int16_t ETEXT_DESC::count {0} |
Definition at line 97 of file ocrclass.h.
std::chrono::steady_clock::time_point ETEXT_DESC::end_time |
this or other data for cancel
Definition at line 110 of file ocrclass.h.
int8_t ETEXT_DESC::err_code {0} |
ocr sets to 1, HP 0
Definition at line 104 of file ocrclass.h.
int8_t ETEXT_DESC::more_to_come {0} |
percent complete increasing (0-100)
Progress monitor covers word recognition and it does not cover layout analysis. See Ray comment in https://github.com/tesseract-ocr/tesseract/pull/27
Definition at line 102 of file ocrclass.h.
volatile int8_t ETEXT_DESC::ocr_alive {0} |
true if not last
Definition at line 103 of file ocrclass.h.
int16_t ETEXT_DESC::progress {0} |
chars in this buffer(0)
Definition at line 98 of file ocrclass.h.
PROGRESS_FUNC ETEXT_DESC::progress_callback |
PROGRESS_FUNC2 ETEXT_DESC::progress_callback2 |
called whenever progress increases
Definition at line 108 of file ocrclass.h.
EANYCODE_CHAR ETEXT_DESC::text[1] {} |
Time to stop. Expected to be set only by call to set_deadline_msecs().
Definition at line 113 of file ocrclass.h.