---
title: hi_vpc_resize_info
description: VPC缩放功能需要的参数。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0698.html"
---

# hi_vpc_resize_info

#### 说明

VPC缩放功能需要的参数。


#### 定义

```
hi_vpc_resize_info = {"resize_width": resize_width,
"resize_height": resize_height,
"interpolation": interpolation}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| resize\_width | 整型，缩放之后的宽。 |
| resize\_height | 整型，缩放之后的高。 |
| interpolation | 整型，缩放算法。 Atlas 200/500 A2推理产品，支持如下缩放算法： 0：业界通用的Bilinear算法（与OpenCV\-3.4.2版本算法的计算结果相同） 1：业界通用的Nearest neighbor 算法（与OpenCV\-3.4.2版本算法的计算结果相同） |
