NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::AnalyticsFrameMeta Class Reference

Detailed Description

Definition at line 601 of file metadata.hpp.

Inheritance diagram for deepstream::AnalyticsFrameMeta:
Collaboration diagram for deepstream::AnalyticsFrameMeta:

Public Types

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

Public Member Functions

 AnalyticsFrameMeta (void *data=nullptr)
 Constructor for AnalyticsFrameMeta. More...
 
 AnalyticsFrameMeta (const UserMetadata &user_meta)
 Copy constructor for AnalyticsFrameMeta. More...
 
virtual ~AnalyticsFrameMeta ()
 
std::unordered_map< std::string, bool > getOcStatus () const
 Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint32_t > getObjInROIcnt () const
 Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCurrCnt () const
 Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCumCnt () const
 Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
unsigned int getUniqueId () const
 Get the unique identifier for this metadata. More...
 
std::unordered_map< int, uint32_t > getObjCnt () const
 Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID. More...
 
virtual operator bool () override
 operator to check if a metadata is void More...
 

Protected Member Functions

void get_ (void *&)
 

Protected Attributes

void * data_
 

Member Typedef Documentation

◆ Iterator

Definition at line 103 of file metadata.hpp.

Constructor & Destructor Documentation

◆ AnalyticsFrameMeta() [1/2]

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

Constructor for AnalyticsFrameMeta.

Parameters
dataOptional pointer to data. Defaults to nullptr.

◆ AnalyticsFrameMeta() [2/2]

deepstream::AnalyticsFrameMeta::AnalyticsFrameMeta ( const UserMetadata user_meta)

Copy constructor for AnalyticsFrameMeta.

◆ ~AnalyticsFrameMeta()

virtual deepstream::AnalyticsFrameMeta::~AnalyticsFrameMeta ( )
virtual

Member Function Documentation

◆ get_()

◆ getObjCnt()

std::unordered_map<int, uint32_t> deepstream::AnalyticsFrameMeta::getObjCnt ( ) const

Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID.

◆ getObjInROIcnt()

std::unordered_map<std::string, uint32_t> deepstream::AnalyticsFrameMeta::getObjInROIcnt ( ) const

Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCumCnt()

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCumCnt ( ) const

Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCurrCnt()

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCurrCnt ( ) const

Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getOcStatus()

std::unordered_map<std::string, bool> deepstream::AnalyticsFrameMeta::getOcStatus ( ) const

Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getUniqueId()

unsigned int deepstream::AnalyticsFrameMeta::getUniqueId ( ) const

Get the unique identifier for this metadata.

◆ operator bool()

virtual deepstream::UserMetadata::operator bool ( )
inlineoverridevirtualinherited

operator to check if a metadata is void

Reimplemented from deepstream::Metadata.

Definition at line 116 of file metadata.hpp.

References deepstream::Metadata::data_.

Field Documentation

◆ data_

void* deepstream::Metadata::data_
protectedinherited

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