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
| #ifndef _c_face_h_
| #define _c_face_h_
|
| #ifdef __cplusplus
| extern "C"{
| #endif
|
| #include "struct.h"
|
| void *create_sdkface();
| void release(void *handle);
|
| int init_detector(void *handle, const int min_faces, const int roll_angles,
| const int threads_max, const int gpu);
|
| int init_extractor(void *handle, const int threads_max, const int gpu);
| int init_propertizer(void *handle, const int threads_max);
|
| int init_tracker(void *handle, const int width, const int height,
| const int max_faces, const int interval, const int sample_size,
| const int threads_max, const int gpu);
|
| int detect(void *handle, const void *data, const int w, const int h, const int c, const int chan, void **fpos, int *fcnt);
| int extract(void *handle, const cFacePos *pos, const void*data, const int w, const int h, const int c, const int chan, void **feat, int *featLen);
| float compare(void *handle, unsigned char *feat1, unsigned char *feat2);
|
| int propertize(void *handle, const cFacePos *pos, const void *data, const int w, const int h, const int c, const int chan, void **res);
|
| int track(void *handle, const void *data, const int w, const int h, const int c, const int chan, void **fInfo, int *fcnt);
| int track_resize(void *handle, const int w, const int h, const int chan);
|
| #ifdef __cplusplus
| }
| #endif
|
| #endif
|
|