This application discloses an image classification method, image classification device, electronic device, and storage medium, belonging to the field of
computer processing technology. The method includes: segmenting a target image to be classified into
multiple target image blocks; merging the
multiple target image blocks into at least two target image regions based on the correlation between them, each target image region including at least one target image block; determining the image features of each target image region; and determining the category of the target
image based on the image features of each target image region. This method achieves the goal of determining the category of the target image by comprehensively considering the correlation between target image blocks, improving the accuracy of image classification results. Furthermore, merging
multiple target image blocks into at least two target image regions reduces the number of blocks and improves the efficiency of image classification
processing.