situp_dl_api.h 967 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef _ASJDL_H_
  2. #define _ASJDL_H_
  3. #define SAMPLE_OBJ_NAME_MAX_LEN 20
  4. typedef struct _sampleRunJoint_POINT_S
  5. {
  6. float x, y, score;
  7. }sampleRunJoint_POINT_S;
  8. typedef struct _sampleRunJoint_RECT_S
  9. {
  10. float x, y, w, h;
  11. }sampleRunJoint_RECT_S;
  12. typedef struct _sampleRunJoint_MAT_S
  13. {
  14. int w, h, c, s;
  15. unsigned char *data;
  16. } sampleRunJoint_MAT_S;
  17. typedef struct _sampleRunJoint_OBJECT_ITEM_S
  18. {
  19. sampleRunJoint_RECT_S stRect;
  20. unsigned int nLandmark;
  21. unsigned int labelId;
  22. char labelName[SAMPLE_OBJ_NAME_MAX_LEN];
  23. float prob;
  24. sampleRunJoint_POINT_S *landmark;
  25. sampleRunJoint_MAT_S mMask; // cv::Mat
  26. // long track_id;
  27. }sampleRunJoint_OBJECT_ITEM_S;
  28. typedef struct _sampleRunJoint_RESULT_S
  29. {
  30. // unsigned int nObjTrack;
  31. unsigned int nObjectSize;
  32. unsigned int nWidth;
  33. unsigned int nHeight;
  34. int bHasMask;
  35. int bHasLandmark;
  36. sampleRunJoint_OBJECT_ITEM_S *pstObjectItems;
  37. }sampleRunJoint_RESULT_S;
  38. #endif