hi_vpc_crop_resize_region

Description

Defines the parameters for VPC cropping and resizing.

Prototype

hi_vpc_crop_resize_region = {"dest_pic_info": hi_vpc_pic_info,
                             "crop_region": hi_vpc_crop_region,
                             "resize_info": hi_vpc_resize_info}

Members

Member

Description

dest_pic_info

Dictionary, destination image information.

crop_region

Dictionary, crop ROI information.

resize_info

Dictionary, image resizing information.

Precautions

The number of source images is up to 256. The width and height for resizing must be the same as those of the target image.