#ifndef _c_wrapper_c_structure_h_ #define _c_wrapper_c_structure_h_ #include 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] int race; //[1-white,2-yellow,3-black] int beauty_level;//range[0-100] int smile_level;//range[0-100] } cThftResult; typedef struct _cFacePos { cRECT rcFace; cPOINT ptLeftEye; cPOINT ptRightEye; cPOINT ptMouth; cPOINT ptNose; cFaceAngle fAngle; int nQuality; unsigned char pFacialData[512]; } cFacePos; typedef struct _cFaceInfo{ cRECT rcFace; cPOINT ptLeftEye; cPOINT ptRightEye; cPOINT ptMouth; cPOINT ptNose; cFaceAngle fAngle; int nQuality; unsigned char pFacialData[8*1024]; long nFaceID;//face tracking id } cFaceInfo; typedef struct _cObjInfo { cRECT rcObj; int typ; float prob; } cObjInfo; #endif