Struct of detection result with an object.
Declaration
typedef struct
{
int label;
float score;
float x;
float y;
float width;
float height;
} vitis::ai::YOLOv3Result::BoundingBox;
Member | Description |
---|---|
label |
Classification
. |
score | Confidence. The value ranges from 0 to 1. |
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. |