NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::ClassifierMetadata Class Reference

Detailed Description

Meta generated from a classifier.

Definition at line 126 of file metadata.hpp.

Inheritance diagram for deepstream::ClassifierMetadata:
Collaboration diagram for deepstream::ClassifierMetadata:

Public Types

typedef std::unique_ptr< AbstractIterator< ClassifierMetadata > > Iterator
 

Public Member Functions

 ClassifierMetadata (void *data=nullptr)
 Constructor through opaque data pointer. More...
 
virtual ~ClassifierMetadata ()
 Destructor. More...
 
unsigned int nLabels () const
 Number of the lables generated by the classifier. More...
 
unsigned int uniqueComponentId () const
 Identifying the unique component that generates the metadata. More...
 
std::string getLabel (unsigned int nth) const
 Get the nth label. More...
 
virtual operator bool ()
 operator to check if a metadata is void More...
 

Protected Attributes

void * data_
 

Member Typedef Documentation

◆ Iterator

Definition at line 128 of file metadata.hpp.

Constructor & Destructor Documentation

◆ ClassifierMetadata()

deepstream::ClassifierMetadata::ClassifierMetadata ( void *  data = nullptr)

Constructor through opaque data pointer.

By default an empty classifier metadata object is created.

◆ ~ClassifierMetadata()

virtual deepstream::ClassifierMetadata::~ClassifierMetadata ( )
virtual

Destructor.

Member Function Documentation

◆ getLabel()

std::string deepstream::ClassifierMetadata::getLabel ( unsigned int  nth) const

Get the nth label.

◆ nLabels()

unsigned int deepstream::ClassifierMetadata::nLabels ( ) const

Number of the lables generated by the classifier.

◆ operator bool()

virtual deepstream::Metadata::operator bool ( )
inlinevirtualinherited

operator to check if a metadata is void

Reimplemented in deepstream::UserMetadata.

Definition at line 51 of file metadata.hpp.

References deepstream::Metadata::data_.

◆ uniqueComponentId()

unsigned int deepstream::ClassifierMetadata::uniqueComponentId ( ) const

Identifying the unique component that generates the metadata.

Field Documentation

◆ data_

void* deepstream::Metadata::data_
protectedinherited

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