vpc_rotate
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
x |
|
√ |
Description
Rotates the input image by 90°, 180°, or 270°.
Prototype
- C Prototype
1hi_s32 hi_mpi_vpc_rotate(hi_vpc_chn chn, const hi_rotate_param* rotate_param, hi_u32 *task_id, hi_s32 milli_sec)
- Python Function
1task_id, ret = acl.himpi.vpc_rotate(chn, rotate_param, milli_sec)
Parameters
Parameter |
Description |
|---|---|
chn |
Int, channel ID for image processing. |
rotate_param |
Dict, rotation information dictionary. For details, see hi_rotate_param. |
milli_sec |
Int, timeout interval, in milliseconds. |
Return Value
Return Value |
Description |
|---|---|
task_id |
Int, task ID, used to identify a task. |
ret |
Int, error code.
|
Restrictions
Version |
Restrictions |
|---|---|
|
|
Ascend 910C AI Processor |
|
Parent topic: VPC APIs