Sequential PatchCore: Anomaly Detection for Surface Inspection using Synthetic Impurities

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mao, Runzhou, Fulir, Juraj, Garth, Christoph, Gospodnetić, Petra
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909457917673472
author Mao, Runzhou
Fulir, Juraj
Garth, Christoph
Gospodnetić, Petra
author_facet Mao, Runzhou
Fulir, Juraj
Garth, Christoph
Gospodnetić, Petra
contents The appearance of surface impurities (e.g., water stains, fingerprints, stickers) is an often-mentioned issue that causes degradation of automated visual inspection systems. At the same time, synthetic data generation techniques for visual surface inspection have focused primarily on generating perfect examples and defects, disregarding impurities. This study highlights the importance of considering impurities when generating synthetic data. We introduce a procedural method to include photorealistic water stains in synthetic data. The synthetic datasets are generated to correspond to real datasets and are further used to train an anomaly detection model and investigate the influence of water stains. The high-resolution images used for surface inspection lead to memory bottlenecks during anomaly detection training. To address this, we introduce Sequential PatchCore - a method to build coresets sequentially and make training on large images using consumer-grade hardware tractable. This allows us to perform transfer learning using coresets pre-trained on different dataset versions. Our results show the benefits of using synthetic data for pre-training an explicit coreset anomaly model and the extended performance benefits of finetuning the coreset using real data. We observed how the impurities and labelling ambiguity lower the model performance and have additionally reported the defect-wise recall to provide an industrially relevant perspective on model performance.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09579
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sequential PatchCore: Anomaly Detection for Surface Inspection using Synthetic Impurities
Mao, Runzhou
Fulir, Juraj
Garth, Christoph
Gospodnetić, Petra
Computer Vision and Pattern Recognition
Graphics
Machine Learning
68U05, 68U10
I.2.1; I.2.10; I.4.6; I.4.9; I.4.7; I.3.8; I.3.6; I.3.5; I.3.7; I.5.4; J.6; J.7
The appearance of surface impurities (e.g., water stains, fingerprints, stickers) is an often-mentioned issue that causes degradation of automated visual inspection systems. At the same time, synthetic data generation techniques for visual surface inspection have focused primarily on generating perfect examples and defects, disregarding impurities. This study highlights the importance of considering impurities when generating synthetic data. We introduce a procedural method to include photorealistic water stains in synthetic data. The synthetic datasets are generated to correspond to real datasets and are further used to train an anomaly detection model and investigate the influence of water stains. The high-resolution images used for surface inspection lead to memory bottlenecks during anomaly detection training. To address this, we introduce Sequential PatchCore - a method to build coresets sequentially and make training on large images using consumer-grade hardware tractable. This allows us to perform transfer learning using coresets pre-trained on different dataset versions. Our results show the benefits of using synthetic data for pre-training an explicit coreset anomaly model and the extended performance benefits of finetuning the coreset using real data. We observed how the impurities and labelling ambiguity lower the model performance and have additionally reported the defect-wise recall to provide an industrially relevant perspective on model performance.
title Sequential PatchCore: Anomaly Detection for Surface Inspection using Synthetic Impurities
topic Computer Vision and Pattern Recognition
Graphics
Machine Learning
68U05, 68U10
I.2.1; I.2.10; I.4.6; I.4.9; I.4.7; I.3.8; I.3.6; I.3.5; I.3.7; I.5.4; J.6; J.7
url https://arxiv.org/abs/2501.09579