vitis::ai::RefineDetResult::BoundingBox - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English
Struct of an object coordinates and confidence.

Declaration

typedef struct
{
  float x;
  float y;
  float width;
  float height;
  int label;
  float score;

} vitis::ai::RefineDetResult::BoundingBox;
Table 1. Structure vitis::ai::RefineDetResult::BoundingBox Member Description
Member Description
x

x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1.

y

y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1.

width

Body width. Width is normalized relative to the input image columns, Range from 0 to 1.

height

Body height. Heigth is normalized relative to the input image rows, Range from 0 to 1.

label Body detection label. The value ranges from 0 to 21.
score Body detection confidence. The value ranges from 0 to 1.