File was renamed from csrc/struct.h |
| | |
| | | #ifndef _c_wrapper_c_structure_h_ |
| | | #define _c_wrapper_c_structure_h_ |
| | | |
| | | |
| | | #include <string.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] |
| | |
| | | int beauty_level;//range[0-100] |
| | | int smile_level;//range[0-100] |
| | | } cThftResult; |
| | | |
| | | |
| | | typedef struct _cFacePos { |
| | | cRECT rcFace; |
| | | cPOINT ptLeftEye; |
| | |
| | | |
| | | unsigned char pFacialData[512]; |
| | | } cFacePos; |
| | | |
| | | |
| | | typedef struct _cFaceInfo{ |
| | | cRECT rcFace; |
| | | cPOINT ptLeftEye; |
| | |
| | | unsigned char pFacialData[8*1024]; |
| | | long nFaceID;//face tracking id |
| | | } cFaceInfo; |
| | | |
| | | |
| | | |
| | | |
| | | #endif |