NVIDIA DeepStream SDK API Reference

6.4 Release
NvDsInferAttribute Struct Reference

Detailed Description

Holds information about one classified attribute.

Definition at line 199 of file nvdsinfer.h.

Data Fields

unsigned int attributeIndex
 Holds the index of the attribute's label. More...
 
unsigned int attributeValue
 Holds the the attribute's output value. More...
 
float attributeConfidence
 Holds the attribute's confidence level. More...
 
char * attributeLabel
 Holds a pointer to a string containing the attribute's label. More...
 

Field Documentation

◆ attributeConfidence

float NvDsInferAttribute::attributeConfidence

Holds the attribute's confidence level.

Definition at line 208 of file nvdsinfer.h.

◆ attributeIndex

unsigned int NvDsInferAttribute::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.

Definition at line 204 of file nvdsinfer.h.

◆ attributeLabel

char* NvDsInferAttribute::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.

Definition at line 212 of file nvdsinfer.h.

◆ attributeValue

unsigned int NvDsInferAttribute::attributeValue

Holds the the attribute's output value.

Definition at line 206 of file nvdsinfer.h.


The documentation for this struct was generated from the following file: