Image processing method and related apparatus
Патент · US B2
Полный текст
Disclosed in this application is an image processing method and a related apparatus. The method includes performing vectorization on a to-be-processed image, to obtain an image representation vector; performing feature mapping on the image representation vector to obtain an image feature, including: performing, at a same network layer of a network block, global feature mapping on input content to obtain a global feature, and performing local feature mapping on the input content to obtain a local feature, the input content being obtained based on the image representation vector; performing feature fusion on the global feature and the local feature to obtain a fused feature; obtaining an image feature based on the fused feature; and performing category prediction by using a classification module in the image classification model based on the image feature, to obtain a classification result of the to-be-processed image.