, ,

Can AI Inspect a Product After Seeing Just One Good Example?

Research into visual anomaly detection is reducing the number of product images needed to configure an inspection system. I examine the methods, compare published results and consider what the findings could mean for manufacturers introducing new products, managing short production runs and dealing with scarce defect data.

A manufacturer introducing a new component faces a familiar inspection problem. Acceptable samples may be available, but examples of every possible defect are not. Scratches, contamination, missing material and assembly errors can emerge in different forms. Collecting and labelling enough images to represent them can become a substantial part of an AI inspection project, particularly when products change frequently.

Tom Tiner – Editorial Director

Visual anomaly detection approaches this problem by modelling acceptable appearance and identifying departures from it. Recent research investigates whether useful inspection performance can be achieved with just one normal reference image of a product.

The published evidence demonstrates that this is possible on established benchmarks. Understanding its industrial significance, however, requires separating three questions: how little information is needed to configure a detector, how effectively it identifies anomalies, and how much testing is necessary before its decisions can be trusted.

Our assessment is that the commercial opportunity lies in reducing the effort required to introduce each new product. A method that produces useful results from limited reference data could shorten feasibility work and simplify changeovers. Whether it can support production acceptance decisions remains a separate engineering question.

One example, backed by extensive prior learning

In research terminology, a one shot method typically receives one normal reference image for each target product category. A few shot method receives a small number. These images introduce the new task, but the underlying neural network may already have undergone extensive training.

DINOv2, developed by researchers at Meta and collaborators, illustrates this distinction. Introduced in 2023, it produces visual features designed to transfer across different tasks without requiring the entire network to be adjusted for each application. Several anomaly detection methods use these existing representations to interpret a new product.

The reference image therefore supplies product specific information to a model with substantial existing visual capability. Similarly, describing a method as requiring no training usually means that additional neural network training is unnecessary for the target task. Extracting features, building a reference collection or fitting a statistical model may still be required.

This terminology matters when research becomes a product proposition. A claim of inspection from one image needs to explain what was learnt beforehand, what preparation remains and which operating conditions were tested.

For industrial buyers, the useful measure is the complete configuration process. Removing neural network fine tuning has value, but the benefit depends on whether it also reduces application development time, specialist intervention and the work needed when a product changes.

Different routes towards the same objective

PatchCore, presented at CVPR 2022 by Karsten Roth and colleagues, helped establish the effectiveness of comparing local image features with a representative memory bank of acceptable appearance. Unusual regions receive higher anomaly scores according to their distance from the stored reference features.

The paper reported image level AUROC of up to 99.6% on MVTec AD and investigated performance with limited samples. That headline figure was not a one image inspection result, but it demonstrated the potential of combining an existing feature extractor with a separate anomaly scoring mechanism.

AnomalyDINO, published at WACV 2025 by Simon Damm and colleagues, applies stronger DINOv2 visual features to comparisons between local image patches. It produces both an overall anomaly prediction and a map of suspicious regions without additional fine tuning.

SubspaceAD, accepted to CVPR 2026, takes a different approach. Researchers at Eindhoven University of Technology extract features using a frozen DINOv2 model, then use principal component analysis to represent normal variation. Anomalies are scored according to how far their features fall outside that representation, avoiding a nearest neighbour search through stored examples.

Language guided approaches provide another route. WinCLIP, presented at CVPR 2023, adapts CLIP’s connections between images and text for anomaly classification and segmentation. Its WinCLIP+ extension supplements that information with normal reference images.

Table 1. Selected published results using one normal reference image per category

MethodPublicationMVTec AD image AUROCMVTec AD pixel AUROCVisA image AUROCVisA pixel AUROC
WinCLIP+CVPR 202393.1%95.2%83.8%96.4%
AnomalyDINOWACV 202596.6%———
SubspaceADCVPR 2026, revised manuscript97.1%97.5%93.2%98.2%

Sources: Jeong et al., WinCLIP; Damm et al., AnomalyDINO; Lendering et al., SubspaceAD, revised manuscript dated 13 May 2026. Dashes indicate figures not reproduced in this table. These are author reported results from separate studies, with different architectures and experimental settings, rather than an independently controlled comparison.

The figures show the capability demonstrated by successive approaches, but they do not isolate the contribution of the anomaly detection algorithm from changes in the underlying visual model, image processing or evaluation setup.

My interpretation is that the simplicity of some successful methods deserves attention. Strong visual representations can reduce the additional modelling required for a new task. For integrators, that could create opportunities to spend less time developing a bespoke detector and more time establishing whether it meets the actual inspection requirement.

What the percentages mean

AUROC measures how effectively anomaly scores separate normal and anomalous examples across different decision thresholds. A score of 97% does not mean that a system correctly accepts or rejects 97% of production components at a chosen setting.

Image level evaluation asks whether an image is anomalous. Pixel level evaluation assesses the separation of anomalous and normal pixels. Neither figure alone establishes how many defective products will escape when unnecessary rejection is restricted to a commercially acceptable level.

That distinction becomes particularly important when defects are rare. Consider an illustrative production run of 100,000 components containing 100 defective parts. A detector that identifies 95% of defects still misses five. If it also rejects 1% of acceptable parts, it unnecessarily rejects 999 good components.

Table 2. Why production performance needs more than a headline score

MeasureIllustrative result
Total components100,000
Defective components100
Acceptable components99,900
Defects detected at 95% sensitivity95
Defects missed5
Good components rejected at a 1% false positive rate999
Total components flagged1,094
Defective share of flagged componentsApproximately 8.7%

Source: MV Pro calculation using hypothetical assumptions. These figures illustrate the effect of defect prevalence and operating thresholds; they are not measured results from any cited method.

This example explains why an apparently strong detector can still create a significant review or rejection workload. It also shows why manufacturers need results at their intended operating threshold.

For me, the relevant question is how the system balances escaped defects, unnecessary rejection and the cost of further inspection. Benchmark scores help identify promising methods. Application specific testing establishes whether those methods are economically and operationally useful.

The benchmark shapes the conclusion

MVTec AD has provided a common foundation for much of this research. Its object and texture categories allow methods to be tested against a shared collection rather than unrelated private datasets. VisA introduces additional complexity through printed circuit boards and scenes containing multiple objects with varying positions and orientations.

Other benchmarks test different weaknesses. MVTec LOCO AD includes logical anomalies, such as an acceptable object appearing in the wrong location. MVTec AD 2 adds more demanding inspection scenarios, including lighting conditions that are not necessarily represented in the training data.

Table 3. Four benchmarks and the questions they help investigate

DatasetPublished scaleMain contribution to evaluationSource
MVTec AD5,354 images; 15 categoriesObject and texture anomaly detection and localisationBergmann et al., original dataset paper
VisA10,821 images; 12 categoriesComplex structures, multiple objects and variation in presentationZou et al., official dataset repository
MVTec LOCO AD3,644 images; 5 categoriesStructural defects and violations of logical constraintsMVTec, official dataset description
MVTec AD 2More than 8,000 images; 8 scenariosMore demanding inspection conditions, including lighting changesMVTec, official dataset description

Sources: Original MVTec AD publication, Amazon’s VisA repository and MVTec’s official dataset pages.

MVTec AD 2 also withholds ground truth for part of its test data, requiring evaluation through a public server. This supports assessment against annotations that developers cannot directly inspect while refining their systems.

These datasets are complementary. Strong performance on surface defects does not establish equivalent performance on missing components, incorrect arrangements or previously unseen illumination. MV Pro’s reading of the evidence is that a broader evaluation across these challenges is more informative than a small improvement on one familiar benchmark.

When the reference image is incomplete

One image can contain considerable information, but it cannot reliably show every acceptable variation. AnomalyDINO documents an example involving capsules with printed text. If the reference capsule is rotated so that its printing is hidden, text on another acceptable capsule can be incorrectly flagged as anomalous. The reference has omitted part of the normal appearance.

This makes reference selection an engineering decision. Sharpness and exposure matter, but so does coverage of legitimate differences in orientation, finish, markings and presentation. Additional representative images may be more useful than further algorithmic complexity.

There is a separate challenge involving relationships between parts. A collection of locally acceptable features does not necessarily constitute an acceptable assembly. An inspection method can recognise familiar textures while failing to identify that a component is absent or incorrectly positioned.

SubspaceAD’s documented limitations include difficulties with missing components, substantial variation between normal samples and complex backgrounds. Its local feature modelling does not explicitly encode all the spatial relationships needed to determine whether an assembly is correct.

This suggests that hybrid inspection remains a practical direction. Anomaly detection could identify unfamiliar surface features, while component recognition, positional checks and dimensional measurements address explicit requirements. The research does not establish that every inspection task should be reduced to a single anomaly score.

Language, speed and the complete system

AnomalyCLIP, published at ICLR 2024 by Qihang Zhou and colleagues, investigates how language can help models focus on abnormality rather than object identity. It learns prompts intended to represent normal and abnormal appearance across different object categories, with evaluation spanning 17 industrial and medical datasets.

Its zero shot setting does not mean that no learning occurred. Auxiliary training data are used before evaluation on the target datasets. This reinforces the need to examine exactly which information a method receives before describing its capabilities.

Computational efficiency is another independent requirement. EfficientAD, published at WACV 2024, uses a lightweight feature extractor and a student and teacher approach, reporting millisecond scale processing under its experimental conditions. It addresses rapid anomaly detection rather than demonstrating inspection from one reference image.

For an industrial installation, acquisition, processing and control must work together. Image resolution, the number of views, available hardware and the time before a component reaches its rejection point all affect suitability. A detector that is quick to configure may still be computationally expensive to operate.

MV Pro therefore sees deployment as a balance between several requirements. Minimal reference data is valuable when it reduces setup effort without creating excessive false rejection, missed defects or hardware demands. Its importance will vary between a flexible inspection station and a tightly constrained production line.

Less preparation, continued responsibility for validation

The answer to the headline question is a qualified yes. Published studies demonstrate that AI can detect and localise anomalies after receiving one normal reference image of a target category. Foundation models supply much of the prior visual capability that makes this possible.

The qualification concerns what follows. Configuration data and validation data perform different jobs. A detector may be configured from one sample while requiring extensive independent testing to establish which defects it misses, which normal variations it rejects and how it responds when conditions change.

For manufacturers, the opportunity is faster initial evaluation and a reduced dependence on extensive product specific training collections. For integrators, it could mean a more reusable foundation for developing applications across several products.

Our conclusion is that the significant shift is towards inspection systems that require less preparation for each new task. The strongest evidence will combine that reduction with transparent results at relevant operating thresholds, representative testing and a clear account of failure cases. One good example can provide a starting point. Demonstrating reliable inspection still requires considerably more evidence.

Most Read

Related Articles

Sign up to the MVPro Newsletter

Subscribe to the MVPro Newsletter for the latest industry news and insight.

Name
Consent

Trending Articles

Latest Issue of MVPro Magazine

MVPro Media
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.