Overview
Artificial intelligence pre-processing (AIPP) involves image resizing (including cropping and padding), color space conversion (CSC), and subtracting the mean value and multiplying a factor (pixel changing). All these functions are implemented by the AI Core.
For dynamic AIPP, the AIPP mode is only set to dynamic during model conversion, when different AIPP parameters can be used. Before model inference, however, the dynamic AIPP parameter values must be set in the code of the inference engine. To set the dynamic AIPP parameter values in the code of the inference engine, the AIPP configuration APIs provided in this section must be called. These APIs are defined in ai_tensor.h.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot