hi_vpc_resize_info
Description
Defines the parameters for VPC resizing.
Prototype
typedef struct {
hi_u32 resize_width;
hi_u32 resize_height;
hi_u32 interpolation;
} hi_vpc_resize_info;
Members
Member |
Description |
|---|---|
resize_width |
Destination width. |
resize_height |
Destination height. |
interpolation |
Resizing algorithm. You are advised to use the same resizing algorithm as in model training. The following resizing algorithms are supported:
For the Atlas 350 Accelerator Card, the compute result of each resizing algorithm is the same as that of the OpenCV-3.4.2 algorithm. In The computation process of the bilinear algorithm is similar to that of the OpenCV algorithm. When both the input and output images are in RGB format, the maximum difference between the value of |