InitVpcChannel
Function Usage
VPC image channel initialization, which is used for image processing functions, such as image cropping, resizing, padding, cropped image resizing, cropped image pasting, and CSC.
This API does not need to be explicitly called on the Atlas inference product and Atlas 800I A2 inference product. The VPC channel is obtained from the resource pool.
Prototype
1 | APP_ERROR ImageProcessor::InitVpcChannel(const VpcChnConfig& config = VPC_CHN_CONFIG); |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
config |
Input |
Channel configuration parameter. The default value is VPC_CHN_CONFIG. The corresponding data structure is as follows (currently reserved):
|
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: ImageProcessor