摘要
Anomaly detection in images has attracted a lot of attention in the field of computer vision.It aims at identifying images that deviate from the norm and segmenting the defect within images.However,anomalous samples are difficult to collect comprehensively,and labeled data is costly to obtain in many practical scenarios.We proposes a simple framework for unsupervised anomaly detection.Specifically,the proposed method directly employs CNN pre-trained on ImageNet to extract deep features from normal images and reduce dimensionality based on Principal Components Analysis(PCA),then build the distribution of normal features via the multivariate Gaussian(MVG),and determine whether the test image is an abnormal image according to Mahalanobis distance.We further investigate which features are most effective in detecting anomalies.Extensive experiments on the MVTec anomaly detection dataset show that the proposed method achieves 98.6%AUROC in image-level anomaly detection and outperforms previous methods by a large margin.