从MxpiBuffer获取Key对应的Metadata。此方法需要配套插件开发用,不可单独调用。
std::shared_ptr<void> MxpiMetadataManager::GetMetadata(const std::string& key);
参数名 |
说明 |
---|---|
key |
要挂载到Buffer上的Metadata的键名。 |
数据结构 |
说明 |
---|---|
shared_ptr<void> |
存放Metadata数据的智能指针。 |