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