LoadConfigDataAndLabelMap

Function Usage

A protected member function that is invoked by Init() to obtain configuration parameters.

Prototype

APP_ERROR LoadConfigDataAndLabelMap(const std::string& configPath, const std::string& labelPath);

Parameter Description

Parameter

Input/Output

Description

configPath

Input

Configuration file path

labelPath

Input

Label file path

Return Parameter Description

Data Structure

Description

APP_ERROR

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