Choosing a Proper Output Format for VPC to Reduce Buffer Allocation

The VPC image processing function supports the output of YUV400 grayscale images. If the input image for model inference is a grayscale image, the VPC function can be directly used without using the AIPP CSC function.

Principles

The VPC function can be used to output YUV400 grayscale images, eliminating the need for AIPP CSC, reducing the load of the AI Core unit, and improving hardware performance.

Instructions for Use

For details about the sample code of the VPC function, see Typical Functions of VPC.