GetMetadata
Function Usage
Obtains the metadata corresponding to the key from the MxpiBuffer. This method is used only for plugin development.
Prototype
std::shared_ptr<void> GetMetadata(const std::string& key);
Parameter Description
Parameter |
Description |
|---|---|
key |
Key name of the metadata to be mounted to the buffer. |
Return Parameter Description
Data Structure |
Description |
|---|---|
shared_ptr<void> |
Smart pointer for storing metadata |
Parent topic: MxpiMetadataManager