A struct to define detection result of
MultiTask
. Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height,
float angle
} vitis::ai::VehicleResult;
Member | Description |
---|---|
label |
number of classes
|
score | confidence of this target |
x |
x-coordinate, x is normalized relative to the input image cols ,the value range from 0 to 1. |
y |
y-coordinate ,y is normalized relative to the input image rows ,the value range from 0 to 1. |
width |
width, width is normalized relative to the input image cols ,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. |
angle | the angle between the target vehicle and ourself. |