This application provides an image classification method, image classification device,
computer equipment, and storage medium, belonging to the field of
artificial intelligence technology. The method includes: acquiring a first
sample image and a
sample image category of a sample document; performing
text recognition on the first
sample image, where the recognized initial text sequence includes initial text characters; inputting the first sample image and the initial text sequence into an initial classification model, performing keyword classification
processing on the initial text characters to obtain keyword prediction scores for the initial text characters; constructing an image character table vector of the first sample
image based on the keyword prediction scores; determining the predicted image category of the first sample
image based on the image character table vector; adjusting the parameters of the initial classification model based on the sample image category and the predicted image category, and classifying the target
image based on the adjusted document image classification model. This application embodiment can improve the accuracy of image classification.