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