forked from hanson-young/nniefacelib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nnie_face_api.h
40 lines (31 loc) · 1.28 KB
/
nnie_face_api.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
#ifndef __NNIE_FACE_H__
#define __NNIE_FACE_H__
#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */
/******************************************************************************
* function : Retinaface Detector func
******************************************************************************/
void NNIE_FACE_DETECTOR_INIT(char *pcModelName, float threshold, int isLog);
void NNIE_FACE_DETECTOR_GET(char *pcSrcFile);
void NNIE_FACE_DETECTOR_RELEASE(void);
/******************************************************************************
* function : Face Recognition func
******************************************************************************/
void NNIE_FACE_EXTRACTOR_INIT(char *pcModelName);
void NNIE_FACE_NNIE_EXTRACTOR_GET(char *pcSrcFile, float *feature_buff);
void NNIE_FACE_EXTRACTOR_RELEASE(void);
/******************************************************************************
* function : Face Pose func
******************************************************************************/
void NNIE_FACE_PFPLD_INIT(char *pcModelName);
void NNIE_FACE_PFPLD_GET(char *pcSrcFile, float *landmarks_buff, float *angles_buff);
void NNIE_FACE_PFPLD_RELEASE(void);
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */
#endif /* __NNIE_FACE_H__ */