NVIDIA DeepStream SDK API Reference

9.2 Release
deepstream::LabelInfo Class Reference

Detailed Description

Holds all fields of a single label entry from a classifier.

Definition at line 153 of file service-maker/includes/metadata.hpp.

Public Member Functions

 LabelInfo (void *data)
 
std::string label () const
 The label string of the result. More...
 
unsigned int classId () const
 Class ID of the best result. More...
 
float prob () const
 Probability of the best result. More...
 
unsigned int labelId () const
 Label ID for multi-label classifiers. More...
 
unsigned int numClasses () const
 Number of classes for this label. More...
 
 LabelInfo (void *data)
 
std::string label () const
 The label string of the result. More...
 
unsigned int classId () const
 Class ID of the best result. More...
 
float prob () const
 Probability of the best result. More...
 
unsigned int labelId () const
 Label ID for multi-label classifiers. More...
 
unsigned int numClasses () const
 Number of classes for this label. More...
 

Constructor & Destructor Documentation

◆ LabelInfo() [1/2]

deepstream::LabelInfo::LabelInfo ( void *  data)

◆ LabelInfo() [2/2]

deepstream::LabelInfo::LabelInfo ( void *  data)

Member Function Documentation

◆ classId() [1/2]

unsigned int deepstream::LabelInfo::classId ( ) const

Class ID of the best result.

◆ classId() [2/2]

unsigned int deepstream::LabelInfo::classId ( ) const

Class ID of the best result.

◆ label() [1/2]

std::string deepstream::LabelInfo::label ( ) const

The label string of the result.

◆ label() [2/2]

std::string deepstream::LabelInfo::label ( ) const

The label string of the result.

◆ labelId() [1/2]

unsigned int deepstream::LabelInfo::labelId ( ) const

Label ID for multi-label classifiers.

◆ labelId() [2/2]

unsigned int deepstream::LabelInfo::labelId ( ) const

Label ID for multi-label classifiers.

◆ numClasses() [1/2]

unsigned int deepstream::LabelInfo::numClasses ( ) const

Number of classes for this label.

◆ numClasses() [2/2]

unsigned int deepstream::LabelInfo::numClasses ( ) const

Number of classes for this label.

◆ prob() [1/2]

float deepstream::LabelInfo::prob ( ) const

Probability of the best result.

◆ prob() [2/2]

float deepstream::LabelInfo::prob ( ) const

Probability of the best result.


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