派生自 libgowrapper/face

zhangmeng
2020-01-15 2b27c2c88872084123c77eceb5eea34a21290403
csrc/struct.h
File was renamed from csdk_struct.h
@@ -1,34 +1,32 @@
#ifndef _c_wrapper_c_structure_h_
#define _c_wrapper_c_structure_h_
#include <string.h>
#ifndef _face_struct_h_
#define _face_struct_h_
typedef struct _cPOINT {
    int x;
    int y;
} cPOINT;
typedef struct _cRECT {
    int left;
    int top;
    int right;
    int bottom;
} cRECT;
typedef struct _cIMAGE{
    unsigned char *data;
    int width;
    int height;
    int channel;
} cIMAGE;
typedef struct _cFaceAngle {
    int yaw;
    int pitch;
    int roll;
    float confidence;
} cFaceAngle;
typedef struct _cThftResult {
    int gender;//1-male,0-female
    int age;//range[0-100]
@@ -36,7 +34,7 @@
    int beauty_level;//range[0-100]
    int smile_level;//range[0-100]
} cThftResult;
typedef struct _cFacePos {
    cRECT rcFace;
    cPOINT ptLeftEye;
@@ -48,7 +46,7 @@
    
    unsigned char pFacialData[512];
} cFacePos;
typedef struct _cFaceInfo{
    cRECT rcFace;
    cPOINT ptLeftEye;
@@ -61,6 +59,5 @@
    unsigned char pFacialData[8*1024];
    long        nFaceID;//face tracking id
} cFaceInfo;
#endif