#include "stdafx.h"
#include "mfcpch.h"
#include "applybox.h"
#include "control.h"
#include "tessvars.h"
#include "tessedit.h"
#include "pageres.h"
#include "imgs.h"
#include "varabled.h"
#include "tprintf.h"
#include "tesseractmain.h"
#include "stderr.h"
#include "notdll.h"
#include "tessdll.h"
#include "ocrclass.h"
Functions | |
BOOL APIENTRY | DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
TESSDLL_API void __cdecl | TessDllRelease () |
TESSDLL_API void *__cdecl | TessDllInit (const char *lang) |
TESSDLL_API int __cdecl | TessDllBeginPageBPP (uinT32 xsize, uinT32 ysize, unsigned char *buf, uinT8 bpp) |
TESSDLL_API int __cdecl | TessDllBeginPageLangBPP (uinT32 xsize, uinT32 ysize, unsigned char *buf, const char *lang, uinT8 bpp) |
TESSDLL_API int __cdecl | TessDllBeginPageUprightBPP (uinT32 xsize, uinT32 ysize, unsigned char *buf, const char *lang, uinT8 bpp) |
TESSDLL_API int __cdecl | TessDllBeginPage (uinT32 xsize, uinT32 ysize, unsigned char *buf) |
TESSDLL_API int __cdecl | TessDllBeginPageLang (uinT32 xsize, uinT32 ysize, unsigned char *buf, const char *lang) |
TESSDLL_API int __cdecl | TessDllBeginPageUpright (uinT32 xsize, uinT32 ysize, unsigned char *buf, const char *lang) |
TESSDLL_API void __cdecl | TessDllEndPage (void) |
TESSDLL_API ETEXT_DESC *__cdecl | TessDllRecognize_a_Block (uinT32 left, uinT32 right, uinT32 top, uinT32 bottom) |
TESSDLL_API ETEXT_DESC *__cdecl | TessDllRecognize_all_Words (void) |
TESSDLL_API void __cdecl | ReleaseRecognize () |
TESSDLL_API void *__cdecl | InitRecognize () |
TESSDLL_API int __cdecl | CreateRecognize (uinT32 xsize, uinT32 ysize, unsigned char *buf) |
TESSDLL_API ETEXT_DESC *__cdecl | reconize_a_word (uinT32 left, uinT32 right, uinT32 top, uinT32 bottom) |
Variables | |
BOOL_VARIABLE | tessedit_write_ratings |
BOOL_VARIABLE | tessedit_write_output |
BOOL_VARIABLE | tessedit_write_raw_output |
BOOL_VARIABLE | tessedit_write_txt_map |
BOOL_VARIABLE | tessedit_resegment_from_boxes |
TessDllAPI * | recognize = 0L |
char * | current_lang = 0L |
BOOL APIENTRY DllMain | ( | HANDLE | hModule, | |
DWORD | ul_reason_for_call, | |||
LPVOID | lpReserved | |||
) |
TESSDLL_API void* __cdecl InitRecognize | ( | ) |
TESSDLL_API ETEXT_DESC* __cdecl reconize_a_word | ( | uinT32 | left, | |
uinT32 | right, | |||
uinT32 | top, | |||
uinT32 | bottom | |||
) |
TESSDLL_API void __cdecl ReleaseRecognize | ( | ) |
TESSDLL_API int __cdecl TessDllBeginPageBPP | ( | uinT32 | xsize, | |
uinT32 | ysize, | |||
unsigned char * | buf, | |||
uinT8 | bpp | |||
) |
TESSDLL_API int __cdecl TessDllBeginPageLang | ( | uinT32 | xsize, | |
uinT32 | ysize, | |||
unsigned char * | buf, | |||
const char * | lang | |||
) |
TESSDLL_API int __cdecl TessDllBeginPageLangBPP | ( | uinT32 | xsize, | |
uinT32 | ysize, | |||
unsigned char * | buf, | |||
const char * | lang, | |||
uinT8 | bpp | |||
) |
TESSDLL_API int __cdecl TessDllBeginPageUpright | ( | uinT32 | xsize, | |
uinT32 | ysize, | |||
unsigned char * | buf, | |||
const char * | lang | |||
) |
TESSDLL_API int __cdecl TessDllBeginPageUprightBPP | ( | uinT32 | xsize, | |
uinT32 | ysize, | |||
unsigned char * | buf, | |||
const char * | lang, | |||
uinT8 | bpp | |||
) |
TESSDLL_API void __cdecl TessDllEndPage | ( | void | ) |
TESSDLL_API void* __cdecl TessDllInit | ( | const char * | lang | ) |
TESSDLL_API ETEXT_DESC* __cdecl TessDllRecognize_a_Block | ( | uinT32 | left, | |
uinT32 | right, | |||
uinT32 | top, | |||
uinT32 | bottom | |||
) |
TESSDLL_API ETEXT_DESC* __cdecl TessDllRecognize_all_Words | ( | void | ) |
TESSDLL_API void __cdecl TessDllRelease | ( | ) |
char* current_lang = 0L |
TessDllAPI* recognize = 0L |
"Write raw stuff to name.raw"