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;
Member | Description |
---|---|
x |
x-coordinate , x is normalized relative to the input image columns ,the value ranges from 0 to 1. |
y |
y-coordinate , y is normalized relative to the input image rows ,the value ranges from 0 to 1. |
width |
Body width , width is normalized relative to the input image columns , the value ranges from 0 to 1. |
height |
Body height , height is normalized relative to the input image rows , the value ranges 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. |