vitis::ai::YOLOvXResult::BoundingBox - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English
Struct of detection result with an object.

Declaration

typedef struct
{
  int label;
  float score;
  std::vector< float > box;

} vitis::ai::YOLOvXResult::BoundingBox;
Table 1. Structure vitis::ai::YOLOvXResult::BoundingBox Member Description
Member Description
label Classification .
score Confidence. The value ranges from 0 to 1.
box

(x0,y0,x1,y1). x0, x1 Range from 0 to the input image columns. y0,y1. Range from 0 to the input image rows.