Init
Function Usage
Initializes model post-processing.
Prototype
virtual APP_ERROR Init(const std::string& configPath, const std::string& labelPath, MxBase::ModelDesc modelDesc) = 0;
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
configPath |
Input |
Configuration file path. |
labelPath |
Input |
Label file path. |
modelDesc |
Output |
Model description information. |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: MxpiModelPostProcessorBase