lavu/detection_bbox.h: use AV_NUM_DETECTION_BBOX_CLASSIFY to replace AV_NUM_BBOX_CLASSIFY

pull/362/head
Guo, Yejun 4 years ago
parent a10c47acc2
commit 0c7aef84a0
  1. 6
      libavutil/detection_bbox.h

@ -47,10 +47,10 @@ typedef struct AVDetectionBBox {
* DNN models on one bounding box. * DNN models on one bounding box.
* classify_count is zero if no classification. * classify_count is zero if no classification.
*/ */
#define AV_NUM_BBOX_CLASSIFY 4 #define AV_NUM_DETECTION_BBOX_CLASSIFY 4
uint32_t classify_count; uint32_t classify_count;
char classify_labels[AV_NUM_BBOX_CLASSIFY][AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE]; char classify_labels[AV_NUM_DETECTION_BBOX_CLASSIFY][AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE];
AVRational classify_confidences[AV_NUM_BBOX_CLASSIFY]; AVRational classify_confidences[AV_NUM_DETECTION_BBOX_CLASSIFY];
} AVDetectionBBox; } AVDetectionBBox;
typedef struct AVDetectionBBoxHeader { typedef struct AVDetectionBBoxHeader {

Loading…
Cancel
Save