tesseract v5.3.3.20231005
|
Additional Inherited Members | |
![]() | |
TessBaseAPI () | |
virtual | ~TessBaseAPI () |
TessBaseAPI (TessBaseAPI const &)=delete | |
TessBaseAPI & | operator= (TessBaseAPI const &)=delete |
void | SetInputName (const char *name) |
const char * | GetInputName () |
void | SetInputImage (Pix *pix) |
Pix * | GetInputImage () |
int | GetSourceYResolution () |
const char * | GetDatapath () |
void | SetOutputName (const char *name) |
bool | SetVariable (const char *name, const char *value) |
bool | SetDebugVariable (const char *name, const char *value) |
bool | GetIntVariable (const char *name, int *value) const |
bool | GetBoolVariable (const char *name, bool *value) const |
bool | GetDoubleVariable (const char *name, double *value) const |
const char * | GetStringVariable (const char *name) const |
void | PrintFontsTable (FILE *fp) const |
void | PrintVariables (FILE *fp) const |
bool | GetVariableAsString (const char *name, std::string *val) const |
int | Init (const char *datapath, const char *language, OcrEngineMode mode, char **configs, int configs_size, const std::vector< std::string > *vars_vec, const std::vector< std::string > *vars_values, bool set_only_non_debug_params) |
int | Init (const char *datapath, const char *language, OcrEngineMode oem) |
int | Init (const char *datapath, const char *language) |
int | Init (const char *data, int data_size, const char *language, OcrEngineMode mode, char **configs, int configs_size, const std::vector< std::string > *vars_vec, const std::vector< std::string > *vars_values, bool set_only_non_debug_params, FileReader reader) |
const char * | GetInitLanguagesAsString () const |
void | GetLoadedLanguagesAsVector (std::vector< std::string > *langs) const |
void | GetAvailableLanguagesAsVector (std::vector< std::string > *langs) const |
void | InitForAnalysePage () |
void | ReadConfigFile (const char *filename) |
void | ReadDebugConfigFile (const char *filename) |
void | SetPageSegMode (PageSegMode mode) |
PageSegMode | GetPageSegMode () const |
char * | TesseractRect (const unsigned char *imagedata, int bytes_per_pixel, int bytes_per_line, int left, int top, int width, int height) |
void | ClearAdaptiveClassifier () |
void | SetImage (const unsigned char *imagedata, int width, int height, int bytes_per_pixel, int bytes_per_line) |
void | SetImage (Pix *pix) |
void | SetSourceResolution (int ppi) |
void | SetRectangle (int left, int top, int width, int height) |
Pix * | GetThresholdedImage () |
Boxa * | GetRegions (Pixa **pixa) |
Boxa * | GetTextlines (bool raw_image, int raw_padding, Pixa **pixa, int **blockids, int **paraids) |
Boxa * | GetTextlines (Pixa **pixa, int **blockids) |
Boxa * | GetStrips (Pixa **pixa, int **blockids) |
Boxa * | GetWords (Pixa **pixa) |
Boxa * | GetConnectedComponents (Pixa **cc) |
Boxa * | GetComponentImages (PageIteratorLevel level, bool text_only, bool raw_image, int raw_padding, Pixa **pixa, int **blockids, int **paraids) |
Boxa * | GetComponentImages (const PageIteratorLevel level, const bool text_only, Pixa **pixa, int **blockids) |
int | GetThresholdedImageScaleFactor () const |
PageIterator * | AnalyseLayout () |
PageIterator * | AnalyseLayout (bool merge_similar_words) |
int | Recognize (ETEXT_DESC *monitor) |
bool | ProcessPages (const char *filename, const char *retry_config, int timeout_millisec, TessResultRenderer *renderer) |
bool | ProcessPagesInternal (const char *filename, const char *retry_config, int timeout_millisec, TessResultRenderer *renderer) |
bool | ProcessPage (Pix *pix, int page_index, const char *filename, const char *retry_config, int timeout_millisec, TessResultRenderer *renderer) |
ResultIterator * | GetIterator () |
MutableIterator * | GetMutableIterator () |
char * | GetUTF8Text () |
char * | GetHOCRText (ETEXT_DESC *monitor, int page_number) |
char * | GetHOCRText (int page_number) |
char * | GetAltoText (ETEXT_DESC *monitor, int page_number) |
char * | GetAltoText (int page_number) |
char * | GetTSVText (int page_number) |
char * | GetLSTMBoxText (int page_number) |
char * | GetBoxText (int page_number) |
char * | GetWordStrBoxText (int page_number) |
char * | GetUNLVText () |
bool | DetectOrientationScript (int *orient_deg, float *orient_conf, const char **script_name, float *script_conf) |
char * | GetOsdText (int page_number) |
int | MeanTextConf () |
int * | AllWordConfidences () |
bool | AdaptToWordStr (PageSegMode mode, const char *wordstr) |
void | Clear () |
void | End () |
int | IsValidWord (const char *word) const |
bool | IsValidCharacter (const char *utf8_character) const |
bool | GetTextDirection (int *out_offset, float *out_slope) |
void | SetDictFunc (DictFunc f) |
void | SetProbabilityInContextFunc (ProbabilityInContextFunc f) |
bool | DetectOS (OSResults *) |
void | GetBlockTextOrientations (int **block_orientation, bool **vertical_writing) |
const char * | GetUnichar (int unichar_id) const |
const Dawg * | GetDawg (int i) const |
int | NumDawgs () const |
Tesseract * | tesseract () const |
OcrEngineMode | oem () const |
void | set_min_orientation_margin (double margin) |
![]() | |
static const char * | Version () |
static size_t | getOpenCLDevice (void **device) |
static void | ClearPersistentCache () |
![]() | |
bool | InternalSetImage () |
virtual bool | Threshold (Pix **pix) |
int | FindLines () |
void | ClearResults () |
LTRResultIterator * | GetLTRIterator () |
int | TextLength (int *blob_count) const |
void | DetectParagraphs (bool after_text_recognition) |
const PAGE_RES * | GetPageRes () const |
![]() | |
Tesseract * | tesseract_ |
The underlying data object. More... | |
Tesseract * | osd_tesseract_ |
For orientation & script detection. More... | |
EquationDetect * | equ_detect_ |
The equation detector. More... | |
FileReader | reader_ |
Reads files from any filesystem. More... | |
ImageThresholder * | thresholder_ |
Image thresholding module. More... | |
std::vector< ParagraphModel * > * | paragraph_models_ |
BLOCK_LIST * | block_list_ |
The page layout. More... | |
PAGE_RES * | page_res_ |
The page-level data. More... | |
std::string | input_file_ |
Name used by training code. More... | |
std::string | output_file_ |
Name used by debug code. More... | |
std::string | datapath_ |
Current location of tessdata. More... | |
std::string | language_ |
Last initialized language. More... | |
OcrEngineMode | last_oem_requested_ |
Last ocr language mode requested. More... | |
bool | recognition_done_ |
page_res_ contains recognition data. More... | |
int | rect_left_ |
int | rect_top_ |
int | rect_width_ |
int | rect_height_ |
int | image_width_ |
int | image_height_ |
Definition at line 41 of file baseapi_test.cc.