acl.himpi.vpc_draw_osd
C Prototype |
hi_s32 hi_mpi_vpc_draw_osd(hi_vpc_chn chn, const hi_osd_param* osd_param, hi_u32 *task_id, hi_s32 milli_sec) |
|---|---|
Python Function |
task_id, ret = acl.himpi.vpc_draw_osd(chn, osd_param, task_id, milli_sec) |
Function Usage |
Draws an on-screen display (OSD) on the input image, which can be used to add a watermark. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
Input Description |
chn: int, image processing channel ID. osd_param: dict, OSD information dictionary. For details, see hi_osd_param. milli_sec: int, timeout interval (ms).
|
Return Value |
ret: int, error code.
task_id: task ID, used to identify a task. |
Parent topic: VPC APIs