Rate This Document
Findability
Accuracy
Completeness
Readability

Change Description

The Kunpeng Computer Vision Library (KPCV) contains optimizations of the OpenCV image operators, KP_LITHO_IMG operators, and PyTorch image operators, and uses Kunpeng vector instructions to optimize the image processing operators. Table 1 lists the operators in KPCV.

Table 1 KPCV operator composition

No.

Operator

Description

1

CV image operator library

Kunpeng vector instructions are used to optimize image processing operators in this library, including merge, resize (it supports multiple interpolation modes, such as cv2.INTER_LINEAR, cv2.INTER_CUBIC, and cv2.INTER_NEAREST_EXACT), remap, dilate, GaussianBlur, and cvtColor.

2

KP_LITHO_IMG

Kunpeng vector instructions are used to optimize image operators of KP_LITHO_IMG, including gaussian_blur, gaussian_blur_fft, local_min/local_max, slope, laplacian, and fft_upsampling.

3

PyTorch image operator library

Kunpeng vector instructions are used to optimize data preprocessing operators in this library, including normalize, resize, and permute.