acl.himpi.vpc_sys_create_chn
C Prototype |
hi_s32 hi_mpi_vpc_sys_create_chn(hi_vpc_chn *chnl, const hi_vpc_chn_attr *attr); |
|---|---|
Python Function |
chnl, ret = acl.himpi.vpc_sys_create_chn(attr) |
Function Usage |
Creates an image processing channel based on the configured channel attributes. The system returns an available channel ID to the user. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
attr: dict, dictionary of the attributes of an image processing channel. For details, see hi_vpc_chn_attr. If attr is left empty, the error code HI_ERR_VPC_NULL_PTR is returned. |
Return Value |
ret: int, error code.
chnl: int, image processing channel ID. This API call outputs a channel ID to the user.
|
Parent topic: VPC APIs