vitis::ai::ClassificationResult - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English
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;
Table 1. Structure vitis::ai::ClassificationResult Member Description
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.