Process

Function Usage

Performs inference post-processing and obtains class information.

Prototype

APP_ERROR Process(std::vector<std::shared_ptr<void>>& featLayerData, int& argmaxIndex, float& confidence);

Parameter Description

Parameter

Input/Output

Description

featLayerData

Input

Feature data array.

argmaxIndex

Output

Index of the most possible class.

confidence

Output

Confidence of the most possible class.

Return Parameter Description

Data Structure

Description

APP_ERROR

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