vitis::ai::MedicalDetectionResult::BoundingBox - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English
Struct of an object coordinate ,confidence and classification.

Declaration

typedef struct
{
  int label,
  float score,
  float x,
  float y,
  float width,
  float height
} vitis::ai::MedicalDetectionResult::BoundingBox;
Table 1. Structure vitis::ai::MedicalDetectionResult::BoundingBox member description
Member Description
label Classification.
score Confidence.
x

x-coordinate. x is normalized relative to the input image columns. The range of values is from 0 to 1.

y

y-coordinate. y is normalized relative to the input image rows. The range of values is from 0 to 1.

width

width. width is normalized relative to the input image columns. The value range from 0 to 1.

height

height, height is normalized relative to the input image rows. The value range from 0 to 1.