Deep Local Feature Matching Image Anomaly Detection with Patch Adaptive Average Pooling Technique
Afshin Dini, Esa Rahtu
2025
Abstract
We present a new visual defect detection approach based on a deep feature-matching model and a patch adaptive technique. The main idea is to utilize a pre-trained feature-matching model to identify the training sample(s) being most similar to each test sample. By applying a patch-adaptive average pooling on the extracted features and defining an anomaly map using a pixel-wise Mahalanobis distance between the normal and test features, anomalies can be detected properly. By evaluating our method on the MVTec dataset, we discover that our method has many advantages over similar techniques as (1) it skips the training phase and the difficulties of fine-tuning model parameters that may vary from one dataset to another, (2) it performs quite well on datasets with only a few training samples, reducing the costs of collecting large training datasets in real-world applications, (3) it can automatically adjust itself without compromising performance in terms of shift in data domain, and (4) the model’s performance is better than similar state-of-the-art methods.
DownloadPaper Citation
in Harvard Style
Dini A. and Rahtu E. (2025). Deep Local Feature Matching Image Anomaly Detection with Patch Adaptive Average Pooling Technique. In Proceedings of the 20th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 2: VISAPP; ISBN 978-989-758-728-3, SciTePress, pages 332-339. DOI: 10.5220/0013136400003912
in Bibtex Style
@conference{visapp25,
author={Afshin Dini and Esa Rahtu},
title={Deep Local Feature Matching Image Anomaly Detection with Patch Adaptive Average Pooling Technique},
booktitle={Proceedings of the 20th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 2: VISAPP},
year={2025},
pages={332-339},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013136400003912},
isbn={978-989-758-728-3},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 2: VISAPP
TI - Deep Local Feature Matching Image Anomaly Detection with Patch Adaptive Average Pooling Technique
SN - 978-989-758-728-3
AU - Dini A.
AU - Rahtu E.
PY - 2025
SP - 332
EP - 339
DO - 10.5220/0013136400003912
PB - SciTePress