vitis::ai::TFSSDResult::BoundingBox - 3.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-01-12
Version
3.0 English
Struct of an object coordinate, confidence, classification.

Declaration

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

} vitis::ai::TFSSDResult::BoundingBox;
Table 1. Structure vitis::ai::TFSSDResult::BoundingBox Member Description
Member Description
label Classification .
score Confidence.
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

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

height

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