vitis::ai::ClassificationResult - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 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.