vitis::ai::ClassificationResult - vitis::ai::ClassificationResult - 1.3 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2021-02-03
Version
1.3 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 objects 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.