Struct of the result with the classification network.
Declaration
typedef struct
{
int width,
int height,
std::vector< Score > scores,
int type const char * lookup(int index),
} vitis::ai::ClassificationResult;
| Member | Description |
|---|---|
| width | Width of input image. |
| height | Height of input image. |
| scores |
A vector of object width confidence in the first k; k defaults to 5 and can be modified through the model configuration file. |
| type |
Classification label type. |
| lookup | The classification corresponding by index. |