NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::ClassifierMetadata Class Reference

Detailed Description

Meta generated from a classifier.

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

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

Public Types

typedef std::unique_ptr< AbstractIterator< ClassifierMetadata > > Iterator
 
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...
 
 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...
 
virtual operator bool ()
 operator to check if a metadata is void More...
 

Protected Attributes

void * data_
 

Member Typedef Documentation

◆ Iterator [1/2]

◆ Iterator [2/2]

Constructor & Destructor Documentation

◆ ClassifierMetadata() [1/2]

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

Constructor through opaque data pointer.

By default an empty classifier metadata object is created.

◆ ~ClassifierMetadata() [1/2]

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

Destructor.

◆ ClassifierMetadata() [2/2]

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

Constructor through opaque data pointer.

By default an empty classifier metadata object is created.

◆ ~ClassifierMetadata() [2/2]

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

Destructor.

Member Function Documentation

◆ getLabel() [1/2]

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

Get the nth label.

◆ getLabel() [2/2]

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

Get the nth label.

◆ nLabels() [1/2]

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

Number of the lables generated by the classifier.

◆ nLabels() [2/2]

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

Number of the lables generated by the classifier.

◆ operator bool() [1/2]

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

operator to check if a metadata is void

Reimplemented in deepstream::UserMetadata, and deepstream::UserMetadata.

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

References deepstream::Metadata::data_.

◆ operator bool() [2/2]

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

operator to check if a metadata is void

Reimplemented in deepstream::UserMetadata, and deepstream::UserMetadata.

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

References deepstream::Metadata::data_.

◆ uniqueComponentId() [1/2]

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

Identifying the unique component that generates the metadata.

◆ uniqueComponentId() [2/2]

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: