GetMetadata

Function Usage

Obtains the metadata corresponding to the key from the MxpiBuffer. This method is used only for plugin development.

Prototype

1
std::shared_ptr<void> MxpiMetadataManager::GetMetadata(const std::string& key);

Parameters

Parameter

Description

key

Key name of the metadata to be mounted to the buffer.

Response Parameters

Data Structure

Description

shared_ptr<void>

Smart pointer for storing metadata