DoDump

Function Usage

Obtains or filters the data of a specified plugin and save the data to a file.

Prototype

static std::string DoDump(MxTools::MxpiBuffer& mxpiBuffer,
        const std::vector<std::string>& filterKeys = std::vector<std::string>(),
        const std::vector<std::string>& requiredKeys = std::vector<std::string>());

Parameter Description

Parameter

Input/Output

Description

mxpiBuffer

Input

Plugin data.

The member data under this data structure is input by the upstream plugin. Do not manually set the memory data.

filterKeys

Input

Filters content corresponding to the keys in std::vector during the export.

This property is invalid when requiredKeys is set.

requiredKeys

Input

Obtains content corresponding to the keys in std::vector during the export.

Return Parameter Description

Data Structure

Description

std::string

Obtains/Filters the data of a specified plugin.