Process

Function Usage

Receives model inference output tensors and outputs key point results. During subsequent execution, execute Init first.

Prototype

virtual APP_ERROR Process(const std::vector<TensorBase>& tensors,
                          std::vector<std::vector<KeyPointDetectionInfo>>& keyPointInfos,
                          const std::vector<ResizedImageInfo>& resizedImageInfos = {},
                          const std::map<std::string, std::shared_ptr<void>> &configParamMap = {});

Parameter Description

Parameter

Input/Output

Description

tensors

Input

Input tensors for model postprocessing.

keyPointInfos

Output

Output results of the key point.

resizedImageInfos

Input

Image information (including the original and resized widths and heights).

configParamMap

Input

(Optional) Other parameters.

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.