The invention discloses a
small sample industrial
anomaly detection method based on a
memory bank, and the method comprises the steps: carrying out the
feature extraction of a plurality of support images, constructing a semantic
memory bank, and enabling the semantic
memory bank to be connected with a scene memory
bank in series, and forming a total memory
bank; wherein the semantic memory
library comprises a plurality of semantic features supporting images; on the basis of an online CT theory, performing online registration on the scene features of the current query image and the semantic features in the semantic memory
library to obtain an
optimal matching flow; carrying out scene memory calibration by combining the scene features of the current query image, updating the scene memory
library, and further updating the total memory library; and registering the scene features of the current query image with the updated features in the total memory
bank based on an online CT theory, obtaining an abnormal
score graph of the current query image according to a registration result, and realizing abnormal detection of the current query
image based on the abnormal
score graph. According to the method, CT is used as measurement for online detection, accurate
feature matching is achieved, and the detection precision is improved.