#ifndef _ASJDL_H_ #define _ASJDL_H_ #ifdef __cplusplus extern "C" { #endif #define SAMPLE_OBJ_NAME_MAX_LEN 20 typedef struct _sampleRunJoint_RECT_S { float x; float y; float w; float h; } sampleRunJoint_RECT_S; typedef struct _sampleRunJoint_POINT_S { float x; float y; float score; } sampleRunJoint_POINT_S; typedef struct _sampleRunJoint_MAT_S { int w, h, c, s; unsigned char *data; } sampleRunJoint_MAT_S; typedef struct _sampleRunJoint_OBJECT_ITEM_S { unsigned int labelId; char labelName[20]; sampleRunJoint_RECT_S stRect; unsigned int nLandmark; sampleRunJoint_POINT_S *landmark; sampleRunJoint_MAT_S mMask; // cv::Mat float prob; } sampleRunJoint_OBJECT_ITEM_S; typedef struct _sampleRunJoint_RESULT_S { unsigned int nObjectSize; unsigned int nWidth; unsigned int nHeight; int bHasMask; int bHasLandmark; sampleRunJoint_OBJECT_ITEM_S *pstObjectItems; } sampleRunJoint_RESULT_S; #ifdef __cplusplus } #endif #endif