Init
Function Usage
Initializes model postprocessing.
If the initialization fails, do not call subsequent member functions.
Prototype
1 | virtual APP_ERROR ModelPostProcessorBase::Init(const std::string& configPath, const std::string& labelPath, MxBase::ModelDesc modelDesc) = 0; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
configPath |
Input |
Configuration file path. |
labelPath |
Input |
Label file path. |
modelDesc |
Output |
Model description information. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: ModelPostProcessorBase