Init
Function Usage
Initialization method for the post-processing plugin base class.
Prototype
APP_ERROR Init(std::map<std::string, std::shared_ptr<void>>& configParamMap) override;
Parameter Description
Parameter |
Description |
|---|---|
configParamMap |
Configuration parameter. After streaming, the parameters in the configuration file are transferred through this variable. The value of configParamMap must be read from the configuration file or be a character string. Otherwise, an exception may occur and the program may be terminated. |
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: MxModelPostProcessorBase