---
title: Init
description: "用于完成模型后处理初始化。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0935.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0935.html
indexId: 574b107ed2fea941a648582ba69730aabb3afa3062e655849ccf3f7d0875454c102
---
# Init

#### 函数功能

用于完成模型后处理初始化。


#### 函数原型

```
SDK_DEPRECATED_FOR() APP_ERROR Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override;  //已废弃
APP_ERROR Init(const std::map<std::string, std::string> &postConfig) override;
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| postConfig | 输入 | 配置参数。 |


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| APP\_ERROR | 程序执行返回的错误码，请参考APP\_ERROR说明。 |
