The invention discloses an image
library construction method and device, an
image retrieval method and device,
computer equipment and a storage medium. The method comprises the steps that an image high-dimensional
feature set is acquired; performing clustering
processing on all high-dimensional features until a
loss function converges to obtain at least two clusters; constructing an inverted
file system based on all clusters; for each cluster, carrying out edge connection
processing on all points in the cluster to obtain a
complete graph corresponding to the cluster, and taking all the complete graphs as a current clustering graph; performing clustering
processing on the current clustering graph to obtain at least two cluster centers; constructing an intermediate
graph based on all cluster centers; taking the intermediate graph as a current clustering graph, returning to the step of carrying out clustering processing on the current clustering graph to obtain at least two cluster centers, and continuously executing until the number of
layers corresponding to the intermediate graph reaches a preset number of
layers, so as to obtain a multi-layer
skip list; and constructing an image
library based on the inverted
file system and the multi-layer
skip list. By adopting the method and the device, the
image retrieval accuracy is improved.