NvDsInferAttribute¶
-
struct
NvDsInferAttribute
¶ Holds information about one classified attribute.
Public Members
-
unsigned int
attributeIndex
¶ Holds the index of the attribute’s label.
This index corresponds to the order of output layers specified in the outputCoverageLayerNames vector during initialization.
-
unsigned int
attributeValue
¶ Holds the the attribute’s output value.
-
float
attributeConfidence
¶ Holds the attribute’s confidence level.
-
char *
attributeLabel
¶ Holds a pointer to a string containing the attribute’s label.
Memory for the string must not be freed. Custom parsing functions must allocate strings on heap using strdup or equivalent.
-
unsigned int