RetroArch
Macros | Functions | Variables
tess_get_text.cpp File Reference
#include <boolean.h>
#include <tesseract/baseapi.h>
#include "tess_get_text.h"
Include dependency graph for tess_get_text.cpp:

Macros

#define ERROR_BUFFER_LENGTH   1000
 

Functions

bool tess_init (const char *lang_data_dir, const char *language)
 
void tess_deinit (void)
 
char * tess_get_text (tess_image image)
 

Variables

static tesseract::TessBaseAPI * api
 
static char * one_time_return_pointer = NULL
 
char tess_last_error [ERROR_BUFFER_LENGTH]
 

Macro Definition Documentation

◆ ERROR_BUFFER_LENGTH

#define ERROR_BUFFER_LENGTH   1000

Function Documentation

◆ tess_deinit()

void tess_deinit ( void  )

◆ tess_get_text()

char* tess_get_text ( tess_image  image)
Here is the caller graph for this function:

◆ tess_init()

bool tess_init ( const char *  lang_data_dir,
const char *  language 
)
Here is the caller graph for this function:

Variable Documentation

◆ api

tesseract::TessBaseAPI* api
static

◆ one_time_return_pointer

char* one_time_return_pointer = NULL
static

◆ tess_last_error

char tess_last_error[ERROR_BUFFER_LENGTH]