forked from nuveo/nuance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuancec.h
53 lines (40 loc) · 1.35 KB
/
nuancec.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef __NUANCEC_H__
#define __NUANCEC_H__
#define ERR_BUFFER_SIZE 1024
#ifdef __cplusplus
extern "C" {
#endif
typedef void* nuancePtr;
nuancePtr nuanceNew(void);
void nuanceFree(nuancePtr h);
int nuanceSetLicense(nuancePtr n,
const char *licenceFile,
const char *oemCode,
char *errBuff,
const int errSize);
void nuanceQuit(nuancePtr n);
int nuanceInit(nuancePtr n,
const char *company,
const char *product,
char *errBuff,
const int errSize);
int nuanceLoadFormTemplateLibrary(nuancePtr n,
const char *templateFile,
char *errBuff,
const int errSize);
int nuancePreprocessImgWithTemplate(nuancePtr n,
const char *imgFile,
char *errBuff,
const int errSize);
int nuanceGetZoneCount(nuancePtr n);
int nuanceGetZoneData(nuancePtr n,
const int zoneID,
char *zoneName,
const int zoneNameSize,
char *zoneText,
const int zoneTextSize);
void nuanceFreeImgWithTemplate(nuancePtr n);
#ifdef __cplusplus
}
#endif
#endif