Performs inference postprocessing.
1 | virtual APP_ERROR MxpiModelPostProcessorBase::Process(std::shared_ptr<void>& metaDataPtr, MxBase::PostProcessorImageInfo postProcessorImageInfo, std::vector<MxTools::MxpiMetaHeader>& headerVec, std::vector<std::vector<MxBase::BaseTensor>>& tensors) = 0; |
Parameter |
Input/Output |
Description |
|---|---|---|
metaDataPtr |
Output |
Pointer to the data structure corresponding to the postprocessing result of the inference model. The data structure is defined by protobuf, for example, MxpiObjectList. The pointer is used to transmit data to the downstream plugin. |
postProcessorImageInfo |
Input |
Image information (including the heights and widths of the source image and the resized image, and the coordinates of the bounding box). |
headerVec |
Input |
Upstream data information on which the model inference output data depends. |
tensors |
Input |
Model inference output tensor. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |