tesseract  4.0.0-1-g2a2b
ocrclass.h File Reference
#include <ctime>
#include "host.h"

Go to the source code of this file.

Classes

struct  EANYCODE_CHAR
 
class  ETEXT_DESC
 

Macros

#define MAX_FONT_NAME   34 /*name of font */
 
#define MAX_OCR_NAME   32 /*name of engine */
 
#define MAX_OCR_VERSION   17 /*version code of engine */
 
#define PITCH_DEF   0 /*default */
 
#define PITCH_FIXED   1 /*fixed pitch */
 
#define PITCH_VAR   2 /*variable pitch */
 

Typedefs

typedef bool(* CANCEL_FUNC) (void *cancel_this, int words)
 
typedef bool(* PROGRESS_FUNC) (int progress, int left, int right, int top, int bottom)
 
typedef bool(* PROGRESS_FUNC2) (ETEXT_DESC *ths, int left, int right, int top, int bottom)
 

Macro Definition Documentation

◆ MAX_FONT_NAME

#define MAX_FONT_NAME   34 /*name of font */

Definition at line 41 of file ocrclass.h.

◆ MAX_OCR_NAME

#define MAX_OCR_NAME   32 /*name of engine */

Definition at line 42 of file ocrclass.h.

◆ MAX_OCR_VERSION

#define MAX_OCR_VERSION   17 /*version code of engine */

Definition at line 43 of file ocrclass.h.

◆ PITCH_DEF

#define PITCH_DEF   0 /*default */

Definition at line 46 of file ocrclass.h.

◆ PITCH_FIXED

#define PITCH_FIXED   1 /*fixed pitch */

Definition at line 47 of file ocrclass.h.

◆ PITCH_VAR

#define PITCH_VAR   2 /*variable pitch */

Definition at line 48 of file ocrclass.h.

Typedef Documentation

◆ CANCEL_FUNC

typedef bool(* CANCEL_FUNC) (void *cancel_this, int words)

Definition at line 113 of file ocrclass.h.

◆ PROGRESS_FUNC

typedef bool(* PROGRESS_FUNC) (int progress, int left, int right, int top, int bottom)

Definition at line 114 of file ocrclass.h.

◆ PROGRESS_FUNC2

typedef bool(* PROGRESS_FUNC2) (ETEXT_DESC *ths, int left, int right, int top, int bottom)

Definition at line 116 of file ocrclass.h.