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::YOLOv2Result::BoundingBox;
Member | Description |
---|---|
label | classification. |
score | confidence, the range from 0 to 1. |
x |
x-coordinate, x is normalized relative to the input image cols, its value range from 0 to 1. |
y |
y-coordinate, y is normalized relative to the input image rows, its value range from 0 to 1. |
width |
width, width is normalized relative to the input image cols, its value from 0 to 1. |
height |
height, height is normalized relative to the input image rows, its value range from 0 to 1. |