ROI metadata.
The metadata is for describing a region of interest
Definition at line 242 of file metadata.hpp.
Public Member Functions | |
RoiMetadata (void *data=nullptr) | |
virtual | ~RoiMetadata () |
NvOSD_RectParams & | rectParams () const |
Get the region of interest. More... | |
FrameMetadata | frameMetadata () const |
Get the frame metadata. More... | |
ObjectMetadata | objectMetadata () const |
Get the object metadata. More... | |
unsigned int | iterate (const std::function< void(const UserMetadata &)> &func, int meta_type) const |
Iterate the user metadata within it. More... | |
void | initiateIterator (UserMetadata::Iterator &, int meta_type) const |
Get the iterator for user metadata within it. More... | |
unsigned int | iterate (const std::function< void(const ClassifierMetadata &)> &func) const |
Get the classifier metadata within it. More... | |
void | initiateIterator (ClassifierMetadata::Iterator &) const |
Get the iterator for classifier metadata within it. More... | |
virtual | operator bool () |
operator to check if a metadata is void More... | |
Protected Attributes | |
void * | data_ |
deepstream::RoiMetadata::RoiMetadata | ( | void * | data = nullptr | ) |
|
virtual |
FrameMetadata deepstream::RoiMetadata::frameMetadata | ( | ) | const |
Get the frame metadata.
void deepstream::RoiMetadata::initiateIterator | ( | ClassifierMetadata::Iterator & | ) | const |
Get the iterator for classifier metadata within it.
void deepstream::RoiMetadata::initiateIterator | ( | UserMetadata::Iterator & | , |
int | meta_type | ||
) | const |
Get the iterator for user metadata within it.
unsigned int deepstream::RoiMetadata::iterate | ( | const std::function< void(const ClassifierMetadata &)> & | func | ) | const |
Get the classifier metadata within it.
unsigned int deepstream::RoiMetadata::iterate | ( | const std::function< void(const UserMetadata &)> & | func, |
int | meta_type | ||
) | const |
Iterate the user metadata within it.
ObjectMetadata deepstream::RoiMetadata::objectMetadata | ( | ) | const |
Get the object metadata.
|
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_.
NvOSD_RectParams& deepstream::RoiMetadata::rectParams | ( | ) | const |
Get the region of interest.
|
protectedinherited |
Definition at line 54 of file metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().